summaryrefslogtreecommitdiff
path: root/zebra
diff options
context:
space:
mode:
authorpaul <paul>2003-05-23 06:58:44 +0000
committerpaul <paul>2003-05-23 06:58:44 +0000
commit68f43848fa0f8ac16c768bafb8891495dcf232ae (patch)
tree8121fe0ee7c19001dd3c37c798e8368681a59493 /zebra
parent8d6b00e4f34dfb6f627b49713bf80b0745b50abc (diff)
From: Hasso Tepper <hasso@estpak.ee>
http://hasso.linux.ee/zebra/ht-no_interface-23052003.patch Add the 'no interface' command to all the daemons and vtysh.
Diffstat (limited to 'zebra')
-rw-r--r--zebra/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index ed3ece25..c9f71320 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -674,7 +674,7 @@ DEFUN_NOSH (zebra_interface,
return ret;
}
-DEFUN (no_zebra_interface,
+DEFUN_NOSH (no_zebra_interface,
no_zebra_interface_cmd,
"no interface IFNAME",
"Delete a pseudo interface's configuration\n"
@@ -694,7 +694,7 @@ DEFUN (no_zebra_interface,
if (CHECK_FLAG (ifp->status, ZEBRA_INTERFACE_ACTIVE))
{
- vty_out(vty, "Only inactive interfaces can be deleted%s", VTY_NEWLINE);
+ vty_out(vty, "%% Only inactive interfaces can be deleted%s", VTY_NEWLINE);
return CMD_WARNING;
}