summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_msg_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_msg_read.c')
-rw-r--r--bgpd/bgp_msg_read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_msg_read.c b/bgpd/bgp_msg_read.c
index 664aed21..e0bbfef9 100644
--- a/bgpd/bgp_msg_read.c
+++ b/bgpd/bgp_msg_read.c
@@ -1420,8 +1420,9 @@ bgp_msg_notify_receive (bgp_connection connection, bgp_size_t body_size)
notification = bgp_notify_new_with_data(code, subcode,
stream_pnt(connection->ibuf), body_size - 2) ;
+ bgp_notify_set_received(notification) ;
- bgp_notify_print(connection->session->peer, notification, 0) ; /* Logging */
+ bgp_notify_print(connection->session->peer, notification) ; /* Logging */
bgp_fsm_notification_exception(connection, notification) ;
} ;