More tweaks. Added SIGCHLD handler and code to try to restart the TCP server if it dies for whatever reason.

git-svn-id: file:///home/mbr/svn/fwknop/trunk@221 510a4753-2344-4c79-9c09-4d669213fbeb
This commit is contained in:
Damien Stuart
2010-06-21 03:24:27 +00:00
parent 315f3e6778
commit 68b171ddd4
6 changed files with 83 additions and 15 deletions

View File

@@ -35,6 +35,7 @@ extern sig_atomic_t got_sigint;
extern sig_atomic_t got_sigterm;
extern sig_atomic_t got_sigusr1;
extern sig_atomic_t got_sigusr2;
extern sig_atomic_t got_sigchld;
void sig_handler(int sig);