Changeset 91

Show
Ignore:
Timestamp:
11/08/06 09:43:19 (2 years ago)
Author:
laurent2b
Message:

correction d'erreur

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ipk-ffw/trunk/data/usr/sbin/cron.biminutely

    r79 r91  
    99BEGIN { 
    1010 while("route -n"|getline) { 
    11 if (/^[0-9]/) { if (0 < \$5) { if (\$3 == "255.255.255.255 <http://255.255.255.255>")  
     11if (/^[0-9]/) { if (0 < \$5) { if (\$3 == "255.255.255.255")  
    1212                {printf "%s\n", \$1;} 
    1313               } 
     
    3232   echo ${_mac} 
    3333   iptables -t nat -A OlsrNeighbors -m mac --mac-source ${_mac} \ 
    34           -p tcp --dport 80 -j ACCEPT 
     34          -p tcp -j ACCEPT 
    3535done 
    3636iptables -t nat -I WiFiDog_Unknown -j OlsrNeighbors