From: paul Date: Fri, 28 Mar 2003 02:25:45 +0000 (+0000) Subject: Add 'no description' command X-Git-Tag: frr-2.0-rc1~4118 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=464dc8da176ee2252a246410513e10fd8cff4ac6;p=mirror%2Ffrr.git Add 'no description' command --- diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index f54a2e8472..0f82abbae8 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);