diff options
Diffstat (limited to 'bgpd/bgpd.c')
-rw-r--r-- | bgpd/bgpd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index 8a96d46cd..3ca209676 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -1440,8 +1440,7 @@ 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, - vrf_lookup_by_id(peer->bgp->vrf_id)))) { + if ((ifp = if_lookup_by_name(peer->conf_if, peer->bgp->vrf_id))) { peer->ifp = ifp; /* If BGP unnumbered is not "v6only", we first see if we can * derive the |