summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/session.c')
-rw-r--r--usr.sbin/bgpd/session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index 419509a4b75..49b8d3f3289 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.275 2007/05/29 02:27:05 claudio Exp $ */
+/* $OpenBSD: session.c,v 1.276 2007/06/19 09:44:55 pyr Exp $ */
/*
* Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org>
@@ -244,6 +244,7 @@ session_main(struct bgpd_config *config, struct peer *cpeers,
signal(SIGTERM, session_sighdlr);
signal(SIGINT, session_sighdlr);
signal(SIGPIPE, SIG_IGN);
+ signal(SIGHUP, SIG_IGN);
log_info("session engine ready");
close(pipe_m2s[0]);
close(pipe_s2r[1]);