diff options
author | paul <paul> | 2003-05-23 09:21:46 +0000 |
---|---|---|
committer | paul <paul> | 2003-05-23 09:21:46 +0000 |
commit | 3e0bc3be5904e3eccca6a0e7e52f51a425f43600 (patch) | |
tree | d187c2e0e6871f9783479eb08063cfc5ebab9b24 /lib/if.c | |
parent | 7a56f78a9119e4d729807d6c1bf68b3e546276cd (diff) | |
download | quagga-3e0bc3be5904e3eccca6a0e7e52f51a425f43600.tar.bz2 quagga-3e0bc3be5904e3eccca6a0e7e52f51a425f43600.tar.xz |
Undo Hasso last patch, about to apply a slightly updated patch.
Diffstat (limited to 'lib/if.c')
-rw-r--r-- | lib/if.c | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -440,32 +440,6 @@ DEFUN (interface, return CMD_SUCCESS; } -DEFUN_NOSH (no_interface, - no_interface_cmd, - "no interface IFNAME", - NO_STR - "Delete a pseudo interface's configuration\n" - "Interface's name\n") -{ - // deleting interface - struct interface *ifp; - - ifp = if_lookup_by_name (argv[0]); - - if (ifp == NULL) - return CMD_SUCCESS; - - if (if_is_up(ifp)) { - vty_out (vty, "%% Only inactive interfaces can be deleted%s", - VTY_NEWLINE); - return CMD_WARNING; - } - - if_delete(ifp); - - return CMD_SUCCESS; -} - /* For debug purpose. */ DEFUN (show_address, show_address_cmd, |