summaryrefslogtreecommitdiff
path: root/omapip/isclib.c
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2016-09-30 09:43:58 +0200
committerFrancis Dupont <fdupont@isc.org>2016-09-30 09:43:58 +0200
commitae91e4dbd5b9e2783ffc5c642c230f76565206dc (patch)
tree658c552a3fc54a49f142e3d50a0ce891d72a1fbd /omapip/isclib.c
parente7aefac332153cb4c70a314997e3e1d6bee8cc75 (diff)
downloadisc-dhcp-ae91e4dbd5b9e2783ffc5c642c230f76565206dc.tar.gz
Rebased rt43215 to rt43215a
Diffstat (limited to 'omapip/isclib.c')
-rw-r--r--omapip/isclib.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/omapip/isclib.c b/omapip/isclib.c
index 13f0d3eb..12608a7b 100644
--- a/omapip/isclib.c
+++ b/omapip/isclib.c
@@ -22,7 +22,7 @@
*/
/*Trying to figure out what we need to define to get things to work.
- It looks like we want/need the export library but need the fdwatchcommand
+ It looks like we want/need the library but need the fdwatchcommand
which may be a problem */
#include "dhcpd.h"
@@ -195,6 +195,11 @@ dhcp_context_create(int flags,
* broken connections to fail gracefully with EPIPE on writes */
handle_signal(SIGPIPE, SIG_IGN);
+ /* Reset handlers installed by isc_app_ctxstart()
+ * to default for control-c and kill */
+ handle_signal(SIGINT, SIG_DFL);
+ handle_signal(SIGTERM, SIG_DFL);
+
result = isc_taskmgr_createinctx(dhcp_gbl_ctx.mctx,
dhcp_gbl_ctx.actx,
1, 0,