From af00ac8072d577066de244a0c579245d9e0f1c19 Mon Sep 17 00:00:00 2001 From: anlan_cs Date: Tue, 30 May 2023 13:31:08 +0800 Subject: [PATCH] pimd: Set pimreg interface with one master Add break for loop, `pimreg` interface should be with one master. Signed-off-by: anlan_cs --- pimd/pim_iface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pimd/pim_iface.c b/pimd/pim_iface.c index b1beb45630..8cc6d8a049 100644 --- a/pimd/pim_iface.c +++ b/pimd/pim_iface.c @@ -1674,7 +1674,9 @@ static int pim_ifp_up(struct interface *ifp) __func__, vrf->name); return 0; } + pim_zebra_interface_set_master(master, ifp); + break; } } }