ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/vped.C
(Generate patch)

Comparing gvpe/src/vped.C (file contents):
Revision 1.4 by pcg, Fri Mar 28 04:05:10 2003 UTC vs.
Revision 1.6 by pcg, Sat Apr 5 02:32:40 2003 UTC

41#include "pidfile.h" 41#include "pidfile.h"
42 42
43#include "conf.h" 43#include "conf.h"
44#include "slog.h" 44#include "slog.h"
45#include "util.h" 45#include "util.h"
46#include "protocol.h" 46#include "vpn.h"
47#include "iom.h" 47#include "iom.h"
48 48
49vpn network; 49vpn network;
50 50
51static loglevel llevel = L_NONE; 51static loglevel llevel = L_NONE;
200 200
201 act.sa_handler = sighup_handler; sigaction (SIGHUP , &act, NULL); 201 act.sa_handler = sighup_handler; sigaction (SIGHUP , &act, NULL);
202 act.sa_handler = sigusr1_handler; sigaction (SIGUSR1, &act, NULL); 202 act.sa_handler = sigusr1_handler; sigaction (SIGUSR1, &act, NULL);
203 act.sa_handler = sigusr2_handler; sigaction (SIGUSR2, &act, NULL); 203 act.sa_handler = sigusr2_handler; sigaction (SIGUSR2, &act, NULL);
204 act.sa_handler = SIG_IGN; sigaction (SIGCHLD, &act, NULL); 204 act.sa_handler = SIG_IGN; sigaction (SIGCHLD, &act, NULL);
205 act.sa_handler = SIG_IGN; sigaction (SIGPIPE, &act, NULL);
205 act.sa_flags = SA_RESETHAND; 206 act.sa_flags = SA_RESETHAND;
206 act.sa_handler = sigterm_handler; sigaction (SIGINT , &act, NULL); 207 act.sa_handler = sigterm_handler; sigaction (SIGINT , &act, NULL);
207 act.sa_handler = sigterm_handler; sigaction (SIGTERM, &act, NULL); 208 act.sa_handler = sigterm_handler; sigaction (SIGTERM, &act, NULL);
208} 209}
209 210

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines