Skip to content

Commit 4f185c5

Browse files
authored
Merge pull request FRRouting#16743 from lsang6WIND/vpn_leak_label
bgpd: remove redundant loopback check in label update
2 parents 3ae49f7 + d173522 commit 4f185c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bgpd/bgp_mplsvpn.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ void vpn_leak_zebra_vrf_label_update(struct bgp *bgp, afi_t afi)
304304

305305
if (vpn_leak_to_vpn_active(bgp, afi, NULL, false)) {
306306
ifp = if_get_vrf_loopback(bgp->vrf_id);
307-
if (ifp && if_is_vrf(ifp) && if_is_up(ifp))
307+
if (ifp && if_is_up(ifp))
308308
label = bgp->vpn_policy[afi].tovpn_label;
309309
}
310310

0 commit comments

Comments
 (0)