From 8f5f09c8a12e1e0f623fbd50d4c3581cca3070c8 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Sat, 27 May 2017 18:48:41 -0400 Subject: [PATCH] ripngd: Let ripng announce interface turned on for usage. Signed-off-by: Donald Sharp --- ripngd/ripng_interface.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/ripngd/ripng_interface.c b/ripngd/ripng_interface.c index 41879b259b..0bd4a0bd1b 100644 --- a/ripngd/ripng_interface.c +++ b/ripngd/ripng_interface.c @@ -755,16 +755,13 @@ ripng_enable_apply (struct interface *ifp) /* Update running status of the interface. */ if (ri->enable_network || ri->enable_interface) { - { - if (IS_RIPNG_DEBUG_EVENT) - zlog_debug ("RIPng turn on %s", ifp->name); + zlog_info ("RIPng INTERFACE ON %s", ifp->name); - /* Add interface wake up thread. */ - thread_add_timer(master, ripng_interface_wakeup, ifp, 1, - &ri->t_wakeup); + /* Add interface wake up thread. */ + thread_add_timer(master, ripng_interface_wakeup, ifp, 1, + &ri->t_wakeup); - ripng_connect_set (ifp, 1); - } + ripng_connect_set (ifp, 1); } else {