diff options
Diffstat (limited to 'bgpd/bgp_packet.c')
-rw-r--r-- | bgpd/bgp_packet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c index da6bf5c3c..90aa68cfc 100644 --- a/bgpd/bgp_packet.c +++ b/bgpd/bgp_packet.c @@ -1382,7 +1382,7 @@ bgp_update_receive (struct peer *peer, bgp_size_t size) if (peer->status != Established) { zlog_err ("%s [FSM] Update packet received under status %s", - peer->host, LOOKUP (bgp_status_msg, peer->status)); + peer->host, lookup_msg(bgp_status_msg, peer->status, NULL)); bgp_notify_send (peer, BGP_NOTIFY_FSM_ERR, 0); return -1; } @@ -1749,7 +1749,7 @@ bgp_route_refresh_receive (struct peer *peer, bgp_size_t size) if (peer->status != Established) { zlog_err ("%s [Error] Route refresh packet received under status %s", - peer->host, LOOKUP (bgp_status_msg, peer->status)); + peer->host, lookup_msg(bgp_status_msg, peer->status, NULL)); bgp_notify_send (peer, BGP_NOTIFY_FSM_ERR, 0); return; } @@ -2078,7 +2078,7 @@ bgp_capability_receive (struct peer *peer, bgp_size_t size) if (peer->status != Established) { zlog_err ("%s [Error] Dynamic capability packet received under status %s", - peer->host, LOOKUP (bgp_status_msg, peer->status)); + peer->host, lookup_msg(bgp_status_msg, peer->status, NULL)); bgp_notify_send (peer, BGP_NOTIFY_FSM_ERR, 0); return -1; } |