Skip to content

Commit

Permalink
drop info down to trace when incoming addr is not found in the No…
Browse files Browse the repository at this point in the history
…deMap
  • Loading branch information
“ramfox” committed Jan 30, 2025
1 parent d6a729c commit 0ee3607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iroh/src/magicsock/node_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ impl NodeMapInner {
fn receive_udp(&mut self, udp_addr: SocketAddr) -> Option<(NodeId, NodeIdMappedAddr)> {
let ip_port: IpPort = udp_addr.into();
let Some(node_state) = self.get_mut(NodeStateKey::IpPort(ip_port)) else {
info!(src=%udp_addr, "receive_udp: no node_state found for addr, ignore");
trace!(src=%udp_addr, "receive_udp: no node_state found for addr, ignore");
return None;
};
node_state.receive_udp(ip_port, Instant::now());
Expand Down

0 comments on commit 0ee3607

Please sign in to comment.