summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_peer.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_peer.c')
-rw-r--r--bgpd/bgp_peer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_peer.c b/bgpd/bgp_peer.c
index 7607014e..c959c958 100644
--- a/bgpd/bgp_peer.c
+++ b/bgpd/bgp_peer.c
@@ -169,7 +169,7 @@ bgp_session_has_established(bgp_peer peer)
SET_FLAG (peer->sflags, PEER_STATUS_CAPABILITY_OPEN);
/* Clear last notification data. */
- bgp_notify_free(&(peer->notify));
+ bgp_notify_unset(&(peer->notify));
/* Clear start timer value to default. */
peer->v_start = BGP_INIT_START_TIMER;