Changeset 1302

Show
Ignore:
Timestamp:
10/15/07 23:12:51 (1 year ago)
Author:
papril
Message:

fw_iptables.c: reverted change made in 1241 so we properly remove the entry from mangle.WiFiDog_Incoming when kicking out users, it was affecting statistics

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wifidog/src/fw_iptables.c

    r1243 r1302  
    459459        case FW_ACCESS_DENY: 
    460460            iptables_do_command("-t mangle -D " TABLE_WIFIDOG_OUTGOING " -s %s -m mac --mac-source %s -j MARK --set-mark %d", ip, mac, tag); 
    461             rc = iptables_do_command("-t mangle -D " TABLE_WIFIDOG_INCOMING " -d %s -j DROP", ip); 
     461            rc = iptables_do_command("-t mangle -D " TABLE_WIFIDOG_INCOMING " -d %s -j ACCEPT", ip); 
    462462            break; 
    463463        default: