From 96ab81cea2404505873d95c7ef2fe39f0d076a42 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Ritschard Date: Tue, 19 Jun 2007 09:44:56 +0000 Subject: Ignore SIGHUP in bgpd's children to allow the use of pkill -1 bgpd for reloading. ``yeah that is good'' henning@ --- usr.sbin/bgpd/rde.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/bgpd/rde.c') diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 341b43ab038..6c46102eecd 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.226 2007/05/11 11:27:59 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.227 2007/06/19 09:44:55 pyr Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -186,6 +186,7 @@ rde_main(struct bgpd_config *config, struct peer *peer_l, signal(SIGTERM, rde_sighdlr); signal(SIGINT, rde_sighdlr); signal(SIGPIPE, SIG_IGN); + signal(SIGHUP, SIG_IGN); close(pipe_s2r[0]); close(pipe_s2rctl[0]); -- cgit v1.2.3