diff options
Diffstat (limited to 'bgpd/bgpd.c')
-rw-r--r-- | bgpd/bgpd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index 02eda7a43..b61363aa0 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -1436,7 +1436,8 @@ void bgp_peer_conf_if_to_su_update(struct peer *peer) hash_release(peer->bgp->peerhash, peer); prev_family = peer->su.sa.sa_family; - if ((ifp = if_lookup_by_name(peer->conf_if, peer->bgp->vrf_id))) { + if ((ifp = if_lookup_by_name(peer->conf_if, + vrf_lookup_by_id(peer->bgp->vrf_id)))) { peer->ifp = ifp; /* If BGP unnumbered is not "v6only", we first see if we can * derive the |