summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2021-06-22 15:55:11 +0200
committerGitHub <noreply@github.com>2021-06-22 15:55:11 +0200
commit6d824d6940336878bec1bcb9e0fe7d557d4572c8 (patch)
tree79183bf1ae271c52198b47d93bcf0bb96c17d16f /ospfd
parentMerge pull request #8557 from rgirada/ospf_type5_fix (diff)
parentlib: remove vrf-interface config when removing the VRF (diff)
downloadfrr-6d824d6940336878bec1bcb9e0fe7d557d4572c8.tar.xz
frr-6d824d6940336878bec1bcb9e0fe7d557d4572c8.zip
Merge pull request #8891 from idryzhov/no-vrf-interface
lib: remove vrf-interface config when removing the VRF
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_vty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index cb64187d7..54ce248d8 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -12959,6 +12959,8 @@ void ospf_vty_init(void)
install_element(OSPF_NODE, &ospf_max_multipath_cmd);
install_element(OSPF_NODE, &no_ospf_max_multipath_cmd);
+ vrf_cmd_init(NULL, &ospfd_privs);
+
/* Init interface related vty commands. */
ospf_vty_if_init();