diff options
Diffstat (limited to 'ripd/rip_main.c')
-rw-r--r-- | ripd/rip_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ripd/rip_main.c b/ripd/rip_main.c index 5db9c4b7e..e6373664b 100644 --- a/ripd/rip_main.c +++ b/ripd/rip_main.c @@ -81,7 +81,8 @@ static void sigint(void) { zlog_notice("Terminating on signal"); - rip_clean(); + if (rip) + rip_clean(); rip_zclient_stop(); frr_fini(); |