summaryrefslogtreecommitdiff
path: root/vtysh
diff options
context:
space:
mode:
authorpaul <paul>2003-03-28 02:25:45 +0000
committerpaul <paul>2003-03-28 02:25:45 +0000
commit464dc8da176ee2252a246410513e10fd8cff4ac6 (patch)
tree3919089ef3b13b88c6bb1c15bcffd961fb10208b /vtysh
parent97e1c4dcfa9a79e7294462778c2b1e5c2f3183b9 (diff)
Add 'no description' command
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/vtysh.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index f54a2e84..0f82abba 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -1167,6 +1167,12 @@ DEFSH (VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_OSPFD,
"description .LINE",
"Interface specific description\n"
"Characters describing this interface\n")
+
+DEFSH (VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_OSPFD,
+ no_interface_desc_cmd,
+ "no description",
+ NO_STR
+ "Interface specific description\n")
DEFSH (VTYSH_RIPD|VTYSH_BGPD,
set_ip_nexthop_cmd,
@@ -1821,6 +1827,7 @@ vtysh_init_vty ()
install_element (RMAP_NODE, &vtysh_end_all_cmd);
install_element (INTERFACE_NODE, &interface_desc_cmd);
+ install_element (INTERFACE_NODE, &no_interface_desc_cmd);
install_element (INTERFACE_NODE, &vtysh_end_all_cmd);
install_element (INTERFACE_NODE, &vtysh_exit_interface_cmd);
install_element (INTERFACE_NODE, &vtysh_quit_interface_cmd);