Skip to content

Commit

Permalink
add debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-re-ka committed Dec 27, 2023
1 parent 5f7cea0 commit a5d12db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bmp_collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ pub async fn run_client(
None => warn!("message for nonexisting peer: {:?}", &rm),
},
BmpMessage::PeerUpNotification(n) => {
info!("peer up: {} {:?}", n.peer.peeraddress, n)
channels.insert(n.peer.peeraddress, run_peer(client_addr, n, store));
}
BmpMessage::PeerDownNotification(n) => match channels.remove(&n.peer.peeraddress) {
Expand Down

0 comments on commit a5d12db

Please sign in to comment.