From 4a30f0568f2ceaa424a2f36e123de2c7e04c2f5e Mon Sep 17 00:00:00 2001 From: Yash Ranjan Date: Mon, 30 Nov 2020 22:21:04 -0800 Subject: 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 area the linked interface prefixes does not get flushed Signed-off-by: Yash Ranjan --- ospf6d/ospf6_top.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ospf6d/ospf6_top.c') 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; } -- cgit v1.2.3