diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-09-25 15:43:44 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-09-25 15:43:44 -0400 |
| commit | 773829844f76f5605e7dc6490e37a674804e2400 (patch) | |
| tree | 4cd1f0a8ea87fb7938f1a042efed0cb56455c593 /eigrpd/eigrp_main.c | |
| parent | e5716b1677269d17a7fcd7b09a2e88f891e42018 (diff) | |
eigrpd: Follow other protocol leads and exit when told to
EIGRP was continuing to run after being told to exit.
Fixes:#1224
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_main.c')
| -rw-r--r-- | eigrpd/eigrp_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eigrpd/eigrp_main.c b/eigrpd/eigrp_main.c index 705e04b34d..c4ca07178c 100644 --- a/eigrpd/eigrp_main.c +++ b/eigrpd/eigrp_main.c @@ -100,6 +100,8 @@ static void sigint(void) { zlog_notice("Terminating on signal"); eigrp_terminate(); + + exit(0); } /* SIGUSR1 handler. */ |
