Changeset 198

Show
Ignore:
Timestamp:
08/25/04 12:31:04 (9 years ago)
Author:
benoitg
Message:

2004-08-25 Benoit Gr�goire <bock@…>

  • src/auth.c: Remove hardcoded path.
Location:
trunk/wifidog
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog/ChangeLog

    r192 r198  
    11# $Header$ 
     22004-08-25 Benoit Gr�goire  <bock@step.polymtl.ca> 
     3        * src/auth.c:  Remove hardcoded path. 
     4         
    252004-08-23 Benoit Gr�goire  <bock@step.polymtl.ca> 
    36        * src/ping_thread.c:  Send the gateway id to the central server during ping, so the server know which gateway checked in, and then knows for sure that it is up (well, once the server implements it...). 
  • trunk/wifidog/src/auth.c

    r188 r198  
    200200                client->fw_connection_state = FW_MARK_KNOWN; 
    201201                fw_allow(client->ip, client->mac, FW_MARK_KNOWN); 
    202                 _http_redirect(client->fd, "http://%s/wifidog/portal/?gw_id=%s", config_get_config()->auth_servers->authserv_hostname, config_get_config()->gw_id); 
     202                _http_redirect(client->fd, "http://%s/%s/portal/?gw_id=%s", config_get_config()->auth_servers->authserv_hostname,  
     203                config_get_config()->auth_servers->authserv_path, 
     204                config_get_config()->gw_id); 
    203205                break; 
    204206        case AUTH_VALIDATION_FAILED: