mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 17:40:04 +00:00
Merge pull request #887 from Jafaral/ospfvlfix
ospfd: Fix, don't run network unset commands on virtual links
This commit is contained in:
commit
2040f11116
@ -976,9 +976,13 @@ int ospf_network_unset(struct ospf *ospf, struct prefix_ipv4 *p,
|
||||
rn->info = NULL;
|
||||
route_unlock_node(rn); /* initial reference */
|
||||
|
||||
/* Find interfaces that not configured already. */
|
||||
/* Find interfaces that are not configured already. */
|
||||
for (ALL_LIST_ELEMENTS(ospf->oiflist, node, nnode, oi)) {
|
||||
ospf_network_run_subnet(ospf, oi->connected, NULL, NULL);
|
||||
|
||||
if (oi->type == OSPF_IFTYPE_VIRTUALLINK)
|
||||
continue;
|
||||
|
||||
ospf_network_run_subnet(ospf, oi->connected, NULL, NULL);
|
||||
}
|
||||
|
||||
/* Update connected redistribute. */
|
||||
|
Loading…
Reference in New Issue
Block a user