summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_connection.c')
-rw-r--r--bgpd/bgp_connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_connection.c b/bgpd/bgp_connection.c
index edfc19bc..9ce0df67 100644
--- a/bgpd/bgp_connection.c
+++ b/bgpd/bgp_connection.c
@@ -864,7 +864,7 @@ bgp_connection_read_action(qps_file qf, void* file_info)
connection->read_header = 0 ; /* got complete header */
- want = bgp_msg_check_header(connection->ibuf) ;
+ want = bgp_msg_check_header(connection) ;
/* returns balance of message */
if (want < 0)
return ; /* failed in header check */