summaryrefslogtreecommitdiff
path: root/bgpd/bgp_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_main.c')
-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. */