summaryrefslogtreecommitdiff
path: root/babeld
diff options
context:
space:
mode:
authorMatthieu Boutier <boutier@pps.jussieu.fr>2012-01-18 23:03:00 +0100
committerPaul Jakma <paul@quagga.net>2012-03-25 17:06:52 +0100
commit3f031ed536cf96d44015cf49d1f734d15d194f0a (patch)
treeb119fce3d2a11f580e355cec08eab50d6b30c181 /babeld
parent72db20bf8f6af1fd70ae42f287360cad835f042b (diff)
babeld: fix commands informations messages.
Diffstat (limited to 'babeld')
-rw-r--r--babeld/babel_interface.c12
-rw-r--r--babeld/babeld.c6
2 files changed, 10 insertions, 8 deletions
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();