From 1f7a68a2ff0ba1424131f30112e0cc1572f0bee3 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Tue, 19 May 2020 12:57:08 +0100 Subject: 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 --- zebra/zebra_l2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zebra/zebra_l2.c') diff --git a/zebra/zebra_l2.c b/zebra/zebra_l2.c index e549d80a5c..e67b5cddb4 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) -- cgit v1.2.3