]> git.ipfire.org Git - thirdparty/bird.git/blobdiff - proto/bgp/bgp.c
BMP: Use OPEN messages stored in BGP
[thirdparty/bird.git] / proto / bgp / bgp.c
index 373b039268ec37d54ca4618c6ae8ea9a64f4fb03..17c503c4180f6da8069fbbf8a5fa168bb381c060 100644 (file)
@@ -689,6 +689,8 @@ bgp_conn_enter_established_state(struct bgp_conn *conn)
 
   bgp_conn_set_state(conn, BS_ESTABLISHED);
   proto_notify_state(&p->p, PS_UP);
+  bmp_peer_up(p, conn->local_open_msg, conn->local_open_length,
+             conn->remote_open_msg, conn->remote_open_length);
 }
 
 static void