summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-06-21 19:10:23 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-06-21 19:10:23 +0000
commitdf929491a8e29af71700cb3d2fad95304df97d81 (patch)
tree20cc7281025afd8e02d989664a8386a6b5e2d2da /usr.sbin/ospfd
parent9a114ae4ef3eac34b87551892d945ade17320a30 (diff)
The ev_sighup event handler should handle SIGHUP and not SIGTERM.
SIGTERM is already handled by ev_sigterm.
Diffstat (limited to 'usr.sbin/ospfd')
-rw-r--r--usr.sbin/ospfd/ospfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/ospfd.c b/usr.sbin/ospfd/ospfd.c
index f93eb2271a3..c232037538f 100644
--- a/usr.sbin/ospfd/ospfd.c
+++ b/usr.sbin/ospfd/ospfd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfd.c,v 1.21 2005/05/26 22:05:14 norby Exp $ */
+/* $OpenBSD: ospfd.c,v 1.22 2005/06/21 19:10:22 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -208,7 +208,7 @@ main(int argc, char *argv[])
signal_set(&ev_sigint, SIGINT, main_sig_handler, NULL);
signal_set(&ev_sigterm, SIGTERM, main_sig_handler, NULL);
signal_set(&ev_sigchld, SIGINT, main_sig_handler, NULL);
- signal_set(&ev_sighup, SIGTERM, main_sig_handler, NULL);
+ signal_set(&ev_sighup, SIGHUP, main_sig_handler, NULL);
signal_add(&ev_sigint, NULL);
signal_add(&ev_sigterm, NULL);
signal_add(&ev_sigchld, NULL);