diff options
author | Yash Ranjan <ranjany@vmware.com> | 2020-12-01 07:21:04 +0100 |
---|---|---|
committer | Yash Ranjan <ranjany@vmware.com> | 2020-12-13 14:50:57 +0100 |
commit | 4a30f0568f2ceaa424a2f36e123de2c7e04c2f5e (patch) | |
tree | 6f8bbe52bded2f7b4e14cb28ed58b1e9a4f2b9ae /ospf6d/ospf6_top.c | |
parent | Merge pull request #7713 from ranjanyash54/2371 (diff) | |
download | frr-4a30f0568f2ceaa424a2f36e123de2c7e04c2f5e.tar.xz frr-4a30f0568f2ceaa424a2f36e123de2c7e04c2f5e.zip |
ospf6d: ospfv3 disable on the interface, but interface prefix still shown in the output
When the ospfv3 interface is disabled by the command "no interface <eth> area <area-id>
the linked interface prefixes does not get flushed
Signed-off-by: Yash Ranjan <ranjany@vmware.com>
Diffstat (limited to 'ospf6d/ospf6_top.c')
-rw-r--r-- | ospf6d/ospf6_top.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c index e461a3792..7b4ed84d5 100644 --- a/ospf6d/ospf6_top.c +++ b/ospf6d/ospf6_top.c @@ -849,7 +849,7 @@ DEFUN (no_ospf6_interface_area, return CMD_SUCCESS; } - thread_execute(master, interface_down, oi, 0); + ospf6_interface_disable(oi); oa = oi->area; listnode_delete(oi->area->if_list, oi); @@ -860,6 +860,7 @@ DEFUN (no_ospf6_interface_area, UNSET_FLAG(oa->flag, OSPF6_AREA_ENABLE); ospf6_abr_disable_area(oa); } + ospf6_interface_delete(oi); return CMD_SUCCESS; } |