diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-02-08 00:36:21 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-02-08 00:36:21 +0000 |
commit | 22e0496c0669a0c8e5b32bc387471ba9b089448b (patch) | |
tree | 045b06415eadaa960150ae3b16a4fc7b58fecc65 /usr.sbin/dvmrpd/dvmrpd.c | |
parent | 62079a375c307e3e8787c0418000f0cc21aed6a2 (diff) |
...and yet another typo copied from ospfd: the ev_sighup event handler
should handle SIGHUP and not SIGTERM. SIGTERM is already handled by
ev_sigterm.
Diffstat (limited to 'usr.sbin/dvmrpd/dvmrpd.c')
-rw-r--r-- | usr.sbin/dvmrpd/dvmrpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dvmrpd/dvmrpd.c b/usr.sbin/dvmrpd/dvmrpd.c index 864a05f22cf..b9d7469935a 100644 --- a/usr.sbin/dvmrpd/dvmrpd.c +++ b/usr.sbin/dvmrpd/dvmrpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dvmrpd.c,v 1.12 2010/02/08 00:26:51 guenther Exp $ */ +/* $OpenBSD: dvmrpd.c,v 1.13 2010/02/08 00:36:20 guenther Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -242,7 +242,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, SIGCHLD, 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); |