diff options
Diffstat (limited to 'bgpd/bgp_nexthop.c')
-rw-r--r-- | bgpd/bgp_nexthop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_nexthop.c b/bgpd/bgp_nexthop.c index c72ca09f..de745007 100644 --- a/bgpd/bgp_nexthop.c +++ b/bgpd/bgp_nexthop.c @@ -438,7 +438,7 @@ bgp_scan (afi_t afi, safi_t safi) /* Maximum prefix check */ for (ALL_LIST_ELEMENTS (bgp->peer, node, nnode, peer)) { - if (peer->state != bgp_peer_sEstablished) + if (peer->state != bgp_peer_pEstablished) continue; if (peer->afc[afi][SAFI_UNICAST]) |