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>
This commit is contained in:
Yash Ranjan 2020-11-30 22:21:04 -08:00
parent 06ee6e6dee
commit 4a30f0568f

View File

@ -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;
}