Changeset 289
- Timestamp:
- 11/21/04 17:09:49 (4 years ago)
- Files:
-
- branches/WIFIDOG_1_0_X/wifidog/src/fw_iptables.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/WIFIDOG_1_0_X/wifidog/src/fw_iptables.c
r288 r289 97 97 auth_server = auth_server->next) { 98 98 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); 99 100 iptables_do_command("-t nat -A " TABLE_WIFIDOG_AUTHSERVERS " -d %s -j ACCEPT", auth_server->last_ip); 100 101 } else { 102 debug(LOG_DEBUG, "Allowing auth server %s", auth_server->authserv_hostname); 101 103 iptables_do_command("-t nat -A " TABLE_WIFIDOG_AUTHSERVERS " -d %s -j ACCEPT", auth_server->authserv_hostname); 102 104 }
