diff --git a/ripngd/ripng_interface.c b/ripngd/ripng_interface.c index 81b68ad9d7..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 { @@ -949,7 +946,7 @@ DEFUN (ripng_network, ripng_network_cmd, "network IF_OR_ADDR", "RIPng enable on specified interface or network.\n" - "Interface or address") + "Interface or address\n") { int idx_if_or_addr = 1; int ret; @@ -979,7 +976,7 @@ DEFUN (no_ripng_network, "no network IF_OR_ADDR", NO_STR "RIPng enable on specified interface or network.\n" - "Interface or address") + "Interface or address\n") { int idx_if_or_addr = 2; int ret; diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index a58b7c250d..f373598bea 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -2170,7 +2170,7 @@ DEFUN (clear_ipv6_rip, "clear ipv6 ripng", CLEAR_STR IPV6_STR - "Clear IPv6 RIP database") + "Clear IPv6 RIP database\n") { struct route_node *rp; struct ripng_info *rinfo; @@ -2357,7 +2357,7 @@ DEFUN (no_ripng_aggregate_address, "no aggregate-address X:X::X:X/M", NO_STR "Delete aggregate RIPng route announcement\n" - "Aggregate network") + "Aggregate network\n") { int idx_ipv6_prefixlen = 2; int ret; @@ -2576,7 +2576,7 @@ DEFUN (show_ipv6_protocols, "show ipv6 protocols", SHOW_STR IPV6_STR - "Routing protocol information") + "Routing protocol information\n") { if (! ripng) return CMD_SUCCESS;