Show
Ignore:
Timestamp:
09/24/05 23:58:47 (8 years ago)
Author:
minaguib
Message:

Merged branch "wdctlrestart":

* New wdctl command "restart" which will get wifidog to restart itself while preserving the existing clientlist. Perfect for 0-downtime upgrading!
* safe.c: New safe_fork that croaks if the fork fails, also takes care of closing some global file descriptors for the child
* debug.c: Now also logs the PID as part of every entry
* gateway.c: Handler for SIGCHLD now waitpid()s with WNOHANG flag to prevent deadlock when the handler is called and another wait() or waitpid() is used
* util.c: execute() now uses waitpid() instead of wait() to reap only the child it fork/executed
* Extra debugging entries throughout code

Files:
1 modified

Legend:

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

    r764 r765  
    155155        config.log_syslog = DEFAULT_LOG_SYSLOG; 
    156156        config.wdctl_sock = safe_strdup(DEFAULT_WDCTL_SOCK); 
     157        config.internal_sock = safe_strdup(DEFAULT_INTERNAL_SOCK); 
    157158        config.rulesets = NULL; 
    158159        config.trustedmaclist = NULL;