mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 14:51:14 +00:00
ospfd: ospfd-virtual-link.patch
ospfd: virtual links fix Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Basically ZEBRA_INTERFACE_LINKDETECTION is set to on by default now. Virtual links are failing to identify as up because of this code change. Modify ospf to set the flag as appropriate
This commit is contained in:
parent
6410e93aa5
commit
90c9734062
@ -883,6 +883,11 @@ ospf_vl_new (struct ospf *ospf, struct ospf_vl_data *vl_data)
|
||||
|
||||
snprintf (ifname, sizeof(ifname), "VLINK%d", vlink_count);
|
||||
vi = if_create (ifname, strnlen(ifname, sizeof(ifname)));
|
||||
/*
|
||||
* if_create sets ZEBRA_INTERFACE_LINKDETECTION
|
||||
* virtual links don't need this.
|
||||
*/
|
||||
UNSET_FLAG (vi->status, ZEBRA_INTERFACE_LINKDETECTION);
|
||||
co = connected_new ();
|
||||
co->ifp = vi;
|
||||
listnode_add (vi->connected, co);
|
||||
|
Loading…
Reference in New Issue
Block a user