Changeset 289

Show
Ignore:
Timestamp:
11/21/04 17:09:49 (4 years ago)
Author:
alexcv
Message:

added more debug info

Files:

Legend:

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

    r288 r289  
    9797                    auth_server = auth_server->next) { 
    9898        if (auth_server->last_ip && strcmp(auth_server->last_ip, "0.0.0.0") != 0) { 
     99            debug(LOG_DEBUG, "Allowing auth server %s", auth_server->last_ip); 
    99100            iptables_do_command("-t nat -A " TABLE_WIFIDOG_AUTHSERVERS " -d %s -j ACCEPT", auth_server->last_ip); 
    100101        } else { 
     102            debug(LOG_DEBUG, "Allowing auth server %s", auth_server->authserv_hostname); 
    101103            iptables_do_command("-t nat -A " TABLE_WIFIDOG_AUTHSERVERS " -d %s -j ACCEPT", auth_server->authserv_hostname); 
    102104        }