]> git.puffer.fish Git - mirror/frr.git/commitdiff
eigrpd: Follow other protocol leads and exit when told to 1242/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 25 Sep 2017 19:43:44 +0000 (15:43 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 25 Sep 2017 19:43:44 +0000 (15:43 -0400)
EIGRP was continuing to run after being told to exit.

Fixes:#1224
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
eigrpd/eigrp_main.c

index 705e04b34dda793d001c199fe0ed62da06664710..c4ca07178c3a130f45a8a911b088f9a0b2a8c69a 100644 (file)
@@ -100,6 +100,8 @@ static void sigint(void)
 {
        zlog_notice("Terminating on signal");
        eigrp_terminate();
+
+       exit(0);
 }
 
 /* SIGUSR1 handler. */