summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaul <paul>2003-06-20 00:23:27 +0000
committerpaul <paul>2003-06-20 00:23:27 +0000
commit56e475cba9f9c54dec9296aef816104b1a51002e (patch)
tree4c63966eb6b6cd87a8cc626c1778d66815a027d3
parenta6d614bcb7dba423be518fdc3e447497442bbec4 (diff)
2003-06-20 Paul Jakma <paul@dishone.st>
* rip_interface.c: add 'default' to passive-interface command DEFUN
-rw-r--r--ripd/rip_interface.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index e187d8bf..997817c8 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -1825,9 +1825,10 @@ ALIAS (no_ip_rip_split_horizon,
DEFUN (rip_passive_interface,
rip_passive_interface_cmd,
- "passive-interface IFNAME",
+ "passive-interface (IFNAME|default)",
"Suppress routing updates on an interface\n"
- "Interface name\n")
+ "Interface name\n"
+ "default for all interfaces\n")
{
char *ifname = argv[0];
@@ -1844,10 +1845,11 @@ DEFUN (rip_passive_interface,
DEFUN (no_rip_passive_interface,
no_rip_passive_interface_cmd,
- "no passive-interface IFNAME",
+ "no passive-interface (IFNAME|default)",
NO_STR
"Suppress routing updates on an interface\n"
- "Interface name\n")
+ "Interface name\n"
+ "default for all interfaces\n")
{
char *ifname = argv[0];