ripngd: Let ripng announce interface turned on for usage.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-05-27 18:48:41 -04:00
parent d911a12a4e
commit 8f5f09c8a1

View File

@ -755,16 +755,13 @@ ripng_enable_apply (struct interface *ifp)
/* Update running status of the interface. */ /* Update running status of the interface. */
if (ri->enable_network || ri->enable_interface) if (ri->enable_network || ri->enable_interface)
{ {
{ zlog_info ("RIPng INTERFACE ON %s", ifp->name);
if (IS_RIPNG_DEBUG_EVENT)
zlog_debug ("RIPng turn on %s", ifp->name);
/* Add interface wake up thread. */ /* Add interface wake up thread. */
thread_add_timer(master, ripng_interface_wakeup, ifp, 1, thread_add_timer(master, ripng_interface_wakeup, ifp, 1,
&ri->t_wakeup); &ri->t_wakeup);
ripng_connect_set (ifp, 1); ripng_connect_set (ifp, 1);
}
} }
else else
{ {