summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_l2.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2020-05-19 13:57:08 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2020-05-19 16:02:12 +0200
commit1f7a68a2ff0ba1424131f30112e0cc1572f0bee3 (patch)
tree206d974454a96d215213a62a41f4589b1f603d42 /zebra/zebra_l2.c
parentMerge pull request #6344 from dslicenc/ospf6-routemap-delete (diff)
downloadfrr-1f7a68a2ff0ba1424131f30112e0cc1572f0bee3.tar.xz
frr-1f7a68a2ff0ba1424131f30112e0cc1572f0bee3.zip
lib, zebra: update interface name at netlink creation
the interface name was not present in the hook in charge of updating the interface context to the registered hook service. For that, update the name before informing it. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/zebra_l2.c')
-rw-r--r--zebra/zebra_l2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_l2.c b/zebra/zebra_l2.c
index e549d80a5..e67b5cddb 100644
--- a/zebra/zebra_l2.c
+++ b/zebra/zebra_l2.c
@@ -110,7 +110,7 @@ void zebra_l2_map_slave_to_bond(struct zebra_l2info_bondslave *bond_slave,
bond_slave->bond_if = bond_if;
else
bond_slave->bond_if = if_create_ifindex(bond_slave->bond_ifindex,
- vrf_id);
+ vrf_id, NULL);
}
void zebra_l2_unmap_slave_from_bond(struct zebra_l2info_bondslave *bond_slave)