I think this patch would be more appropiate as I think the intention is to 
detect kernels before 2.4 and act differently.

--- /usr/lib/tiger/scripts/check_known.orig     2013-08-29 16:18:17.353468855 
+1000
+++ /usr/lib/tiger/scripts/check_known  2013-08-29 16:20:21.966644143 +1000
@@ -125,8 +125,8 @@
      # (maybe should be moved to systems/Linux/2/check_known)
      [ ! -x "$IP" -o "$OS" != "Linux" ] && message INFO kisXXX "" "Using 
$IFCONFIG instead of $IP, promiscuous mode detection incomplete. Installing 
$IP adds libpcap/libnet-based sniffer detection capabilities."
 
-     VER=`echo $REV | $CUT -f 2 -d .`
-     if [ -x "$IP" -a $VER -ge 4 ] 
+     VER=`echo $REV | $EGREP '^(2.[46].|3)'`
+     if [ -x "$IP" -a -n $VER ]
      then
          echo "# Testing for promiscuous interfaces with $IP"
          $IP link show |


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to