2003-06-20 Paul Jakma <paul@dishone.st>
* rip_interface.c: add 'default' to passive-interface command DEFUN
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index e187d8b..997817c 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -1825,9 +1825,10 @@
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 (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];