diff options
Diffstat (limited to 'ripngd/ripng_main.c')
-rw-r--r-- | ripngd/ripng_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ripngd/ripng_main.c b/ripngd/ripng_main.c index 10e19efe7..b7e5739ed 100644 --- a/ripngd/ripng_main.c +++ b/ripngd/ripng_main.c @@ -82,7 +82,8 @@ static void sigint(void) { zlog_notice("Terminating on signal"); - ripng_clean(); + if (ripng) + ripng_clean(); ripng_zebra_stop(); frr_fini(); |