Changeset 288

Show
Ignore:
Timestamp:
11/21/04 16:59:32 (4 years ago)
Author:
aprilp
Message:

Added a little comparison with 0.0.0.0 just to make sure

Files:

Legend:

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

    r286 r288  
    9696    for (auth_server = config->auth_servers; auth_server != NULL; 
    9797                    auth_server = auth_server->next) { 
    98         if (auth_server->last_ip) { 
     98        if (auth_server->last_ip && strcmp(auth_server->last_ip, "0.0.0.0") != 0) { 
    9999            iptables_do_command("-t nat -A " TABLE_WIFIDOG_AUTHSERVERS " -d %s -j ACCEPT", auth_server->last_ip); 
    100100        } else {