move code from signal handlers into mainloop, avoiding a race

condition when forking CLI
This commit is contained in:
bodea 2005-09-19 00:29:12 +00:00
parent 6fb1f18fb0
commit 05ea15956a
5 changed files with 58 additions and 60 deletions

View file

@ -1,5 +1,5 @@
// L2TPNS Global Stuff
// $Id: l2tpns.h,v 1.91 2005/09/16 05:04:29 bodea Exp $
// $Id: l2tpns.h,v 1.92 2005/09/19 00:29:12 bodea Exp $
#ifndef __L2TPNS_H__
#define __L2TPNS_H__
@ -15,7 +15,7 @@
#include <sys/types.h>
#include <libcli.h>
#define VERSION "2.1.7"
#define VERSION "2.1.8"
// Limits
#define MAXTUNNEL 500 // could be up to 65535