summaryrefslogtreecommitdiff
path: root/bgpd
diff options
context:
space:
mode:
authorhasso <hasso>2004-03-22 08:55:25 +0000
committerhasso <hasso>2004-03-22 08:55:25 +0000
commitf571dab0c677ca4f3328ea944cc59ab2269c9a5d (patch)
treedcdb8086dd98dd956b0ba9ba9479d4fc2bd3388a /bgpd
parent37318657e5af8774a7a1446157f99496e887719f (diff)
Readded SIGTERM handling into sigevent stuff. Fixes bugzilla #85.
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c
index 0ba19c2f..54086e5b 100644
--- a/bgpd/bgp_main.c
+++ b/bgpd/bgp_main.c
@@ -72,6 +72,10 @@ struct quagga_signal_t bgp_signals[] =
.signal = SIGINT,
.handler = &sigint,
},
+ {
+ .signal = SIGTERM,
+ .handler = &sigint,
+ },
};
/* Configuration file and directory. */