summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Boutier <boutier@pps.jussieu.fr>2012-02-08 23:30:46 +0100
committerPaul Jakma <paul@quagga.net>2012-03-25 17:06:54 +0100
commit3c442e8802c260a0ce9787b5f432a7a2a093be25 (patch)
tree4fdbf9843386175a380a46e2b75dc0f23aeceb4d
parent9c58fbd7d7658055c2b3074489c6d338448d88e9 (diff)
babeld: fix wire{d,less} commands name.
-rw-r--r--babeld/babel_interface.c4
-rw-r--r--doc/babeld.texi6
2 files changed, 5 insertions, 5 deletions
diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c
index 047a6ebf..42a9e0ea 100644
--- a/babeld/babel_interface.c
+++ b/babeld/babel_interface.c
@@ -347,7 +347,7 @@ DEFUN (no_babel_network,
/* [Interface Command] Tell the interface is wire. */
DEFUN (babel_set_wired,
babel_set_wired_cmd,
- "wired",
+ "babel wired",
"Set this interface as wired (default: wireless).\n"
"No attributes")
{
@@ -365,7 +365,7 @@ DEFUN (babel_set_wired,
/* [Interface Command] Tell the interface is wireless (default). */
DEFUN (babel_set_wireless,
babel_set_wireless_cmd,
- "wireless",
+ "babel wireless",
NO_STR
"Set this interface as wireless (is default).\n"
"No attributes")
diff --git a/doc/babeld.texi b/doc/babeld.texi
index b7f3d07f..69cec52d 100644
--- a/doc/babeld.texi
+++ b/doc/babeld.texi
@@ -58,11 +58,11 @@ by IANA. (Note that RFC6126 specifies a port number that has been
obsoleted after publication.)
@end deffn
-@deffn {Interface Command} {wireless} {}
-@deffnx {Interface Command} {no wireless} {}
+@deffn {Interface Command} {babel wired} {}
+@deffnx {Interface Command} {babel wireless} {}
Specifies whether this interface is wireless, which disables a number
of optimisations that are only correct on wired interfaces.
-Specifying @code{no wireless} is always correct, but may cause extra
+Specifying @code{wireless} is always correct, but may cause extra
routing overhead. The default is autodetected if possible,
@code{wireless} otherwise.
@end deffn