summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_network.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_network.c')
-rw-r--r--bgpd/bgp_network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_network.c b/bgpd/bgp_network.c
index 3c1cf753..0f02ae38 100644
--- a/bgpd/bgp_network.c
+++ b/bgpd/bgp_network.c
@@ -460,7 +460,7 @@ bgp_accept_action(qps_file qf, void* file_info)
inet_sutop(&su_remote, buf)) ;
/* See if we are ready to accept connections from the connecting party */
- session = bgp_session_lookup(&su_remote, &exists) ;
+ session = bgp_session_index_seek(&su_remote, &exists) ;
if (session != NULL)
{
if (BGP_DEBUG(events, EVENTS))