Changeset 283

Show
Ignore:
Timestamp:
11/21/04 10:20:02 (4 years ago)
Author:
aprilp
Message:

* src/fw_iptables.c: changed call to iptables to use IP address instead.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/WIFIDOG_1_0_X/wifidog/ChangeLog

    r280 r283  
    11# $Header$ 
     22004-11-21 Philippe April <philippe@philippeapril.com> 
     3        * src/fw_iptables.c: changed call to iptables to use IP address instead of 
     4        host name, in case resolution fails. 
     5 
    262004-11-18 Philippe April <philippe@philippeapril.com> 
    37        * ipkg/rules: fixed conffiles, it was not doing it the right way 
  • branches/WIFIDOG_1_0_X/wifidog/configure.in

    r261 r283  
    2121WIFIDOG_MAJOR_VERSION=1 
    2222WIFIDOG_MINOR_VERSION=0 
    23 WIFIDOG_MICRO_VERSION=2-pre1 
     23WIFIDOG_MICRO_VERSION=2-pre3 
    2424WIFIDOG_VERSION=$WIFIDOG_MAJOR_VERSION.$WIFIDOG_MINOR_VERSION.$WIFIDOG_MICRO_VERSION 
    2525 
  • branches/WIFIDOG_1_0_X/wifidog/src/fw_iptables.c

    r278 r283  
    9292    for (auth_server = config->auth_servers; auth_server != NULL; 
    9393                    auth_server = auth_server->next) { 
    94         iptables_do_command("-t nat -A " TABLE_WIFIDOG_AUTHSERVERS " -d %s -j ACCEPT", auth_server->authserv_hostname); 
     94        iptables_do_command("-t nat -A " TABLE_WIFIDOG_AUTHSERVERS " -d %s -j ACCEPT", inet_ntoa(auth_server->last_ip)); 
    9595    } 
    9696