Changeset 173

Show
Ignore:
Timestamp:
08/06/04 17:29:54 (9 years ago)
Author:
alexcv
Message:

AuthservPath? no longer mandatory

Location:
trunk/wifidog
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog/ChangeLog

    r170 r173  
    11# $Header$ 
     22004-08-06 Alexandre Carmel-Veilleux <acv@acv.ca> 
     3        * AuthservPath no longer mandatory in config file. 
     4 
    252004-08-04 Philippe April <wifidog@philippeapril.com> 
    36    * Renamed iptables.[ch] to fw_iptables.[ch] 
  • trunk/wifidog/src/conf.c

    r150 r173  
    126126        config.authserv_hostname = NULL; 
    127127        config.authserv_port = DEFAULT_AUTHSERVPORT; 
    128         config.authserv_path = NULL; 
     128        config.authserv_path = strdup(DEFAULT_AUTHSERVPATH); 
    129129        config.authserv_loginurl = NULL; 
    130130        config.httpdname = NULL; 
     
    246246                                        break; 
    247247                                case oAuthservPath: 
     248                                        free(config.authserv_path); 
    248249                                        config.authserv_path = strdup(p1); 
    249250                                        break; 
     
    307308        config_notnull(config.gw_address, "GatewayAddress"); 
    308309        config_notnull(config.authserv_hostname, "AuthservHostname"); 
    309         config_notnull(config.authserv_path, "AuthservPath"); 
    310310        config_notnull(config.authserv_loginurl, "AuthservLoginUrl"); 
    311311 
  • trunk/wifidog/src/conf.h

    r150 r173  
    4343#define DEFAULT_SYSLOG_FACILITY LOG_DAEMON 
    4444#define DEFAULT_WDCTL_SOCK "/tmp/wdctl.sock" 
     45#define DEFAULT_AUTHSERVPATH "/wifidog/auth" 
    4546/*@}*/  
    4647 
  • trunk/wifidog/wifidog.conf

    r120 r173  
    7373# Set this to the authentication path on the auth server 
    7474# Usually this is /wifidog/auth/ 
    75 AuthservPath /wifidog/auth/ 
     75#AuthservPath /wifidog/auth/ 
    7676 
    7777# Parm: AuthservLoginUrl