From 3f031ed536cf96d44015cf49d1f734d15d194f0a Mon Sep 17 00:00:00 2001 From: Matthieu Boutier Date: Wed, 18 Jan 2012 23:03:00 +0100 Subject: babeld: fix commands informations messages. --- babeld/babel_interface.c | 12 ++++++------ babeld/babeld.c | 6 ++++-- 2 files changed, 10 insertions(+), 8 deletions(-) (limited to 'babeld') diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c index 3f580046..e403cce0 100644 --- a/babeld/babel_interface.c +++ b/babeld/babel_interface.c @@ -368,8 +368,8 @@ DEFUN (babel_split_horizon, babel_split_horizon_cmd, "babel split-horizon", IPV6_STR - "Routing Information Protocol\n" - "Perform split horizon\n") + "Perform split horizon\n" + "No attributes\n") { struct interface *ifp; babel_interface_nfo *babel_ifp; @@ -388,8 +388,8 @@ DEFUN (no_babel_split_horizon, "no babel split-horizon", NO_STR IPV6_STR - "Routing Information Protocol\n" - "Perform split horizon\n") + "Disable split horizon\n" + "No attributes\n") { struct interface *ifp; babel_interface_nfo *babel_ifp; @@ -427,7 +427,7 @@ DEFUN (babel_passive_interface, babel_passive_interface_cmd, "passive-interface", "The daemon will only announce redistributed routes\n" - "Interface name\n") + "No attributes\n") { if (allow_duplicates) { return CMD_WARNING; @@ -442,7 +442,7 @@ DEFUN (no_babel_passive_interface, "no passive-interface", NO_STR "The daemon will announce all (filtred) routes\n" - "Interface name\n") + "No attributes\n") { parasitic = 0; return CMD_SUCCESS; diff --git a/babeld/babeld.c b/babeld/babeld.c index 9f2ab5d9..6487bbe1 100644 --- a/babeld/babeld.c +++ b/babeld/babeld.c @@ -593,7 +593,8 @@ DEFUN (router_babel, router_babel_cmd, "router babel", "Enable a routing process\n" - "Make Babel instance command\n") + "Make Babel instance command\n" + "No attributes\n") { int ret; @@ -617,7 +618,8 @@ DEFUN (no_router_babel, "no router babel", NO_STR "Disable a routing process\n" - "Remove Babel instance command\n") + "Remove Babel instance command\n" + "No attributes\n") { if(babel_routing_process) babel_clean_routing_process(); -- cgit v1.2.1