diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2016-12-05 20:04:08 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2016-12-05 20:04:08 +0100 |
| commit | 7ddcfca4fb5246c5e211f7e37d98a8c9a51b4e70 (patch) | |
| tree | ea8dead406e7963c4b8283477daea4d5224845ac /lib/if.c | |
| parent | 53dc2b05c76f4f5cd6a72373fb241afdcedb2ee1 (diff) | |
| parent | 54c5dce6a5e46717ad52c80f2dc99fc36a372e28 (diff) | |
Merge branch 'queue/osr/vtysh-generic'
WARNING: Merge contains nontrivial fixups in vrf_cmd handling.
Conflicts:
lib/if.c
zebra/interface.c
Diffstat (limited to 'lib/if.c')
| -rw-r--r-- | lib/if.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -827,6 +827,17 @@ DEFUN_NOSH (no_interface, return CMD_SUCCESS; } +void +if_cmd_init (void) +{ + install_element (CONFIG_NODE, &interface_cmd); + install_element (CONFIG_NODE, &no_interface_cmd); + + install_default (INTERFACE_NODE); + install_element (INTERFACE_NODE, &interface_desc_cmd); + install_element (INTERFACE_NODE, &no_interface_desc_cmd); +} + /* For debug purpose. */ DEFUN (show_address, show_address_cmd, |
