mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 06:03:10 +00:00
Merge pull request #9650 from mjstapp/fix_dup_lookup_netlink
zebra: stop asking for AF_BRIDGE interface info twice
This commit is contained in:
commit
4ab65e0983
@ -1103,16 +1103,6 @@ int interface_lookup_netlink(struct zebra_ns *zns)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
/* Get interface information - for bridge interfaces. */
|
|
||||||
ret = netlink_request_intf_addr(netlink_cmd, AF_BRIDGE, RTM_GETLINK,
|
|
||||||
RTEXT_FILTER_BRVLAN);
|
|
||||||
if (ret < 0)
|
|
||||||
return ret;
|
|
||||||
ret = netlink_parse_info(netlink_interface, netlink_cmd, &dp_info, 0,
|
|
||||||
0);
|
|
||||||
if (ret < 0)
|
|
||||||
return ret;
|
|
||||||
|
|
||||||
/* fixup linkages */
|
/* fixup linkages */
|
||||||
zebra_if_update_all_links(zns);
|
zebra_if_update_all_links(zns);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user