]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ripngd: Let ripng announce interface turned on for usage.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 27 May 2017 22:48:41 +0000 (18:48 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 27 May 2017 22:48:41 +0000 (18:48 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ripngd/ripng_interface.c

index 41879b259bbf6929c366ba01eeec781c44c0c4ed..0bd4a0bd1ba7ba228486c37c56c0ae38b413b58d 100644 (file)
@@ -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
     {