Show
Ignore:
Timestamp:
11/18/04 17:22:51 (9 years ago)
Author:
alexcv
Message:

ping_thread now detects when auth_servers change IPs and reset the firewall
rules accordingly. Additional hooks in the firewall code to do this. Also,
if we change primary auth_server, we reset the list, jsut in case the IP
for the next auth_server was stale. That's done in conf.c.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog/src/conf.c

    r252 r277  
    4242#include "http.h" 
    4343#include "auth.h" 
     44#include "firewall.h" 
    4445 
    4546/** @internal 
     
    649650 
    650651        pthread_mutex_unlock(&config_mutex); 
    651 } 
     652 
     653        fw_clear_authservers(); 
     654        fw_set_authservers(); 
     655}