Skip to content

Commit

Permalink
wip: temp logging
Browse files Browse the repository at this point in the history
  • Loading branch information
octol committed Sep 22, 2023
1 parent 46dbed9 commit 5154b15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/wireguard/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ fn start_tun_device(active_peers: Arc<ActivePeers>) -> UnboundedSender<Vec<u8>>
// NOTE: I think we should probably use the allowed IP here instead to
// route the packet to the correct peer
// Consier using ip_network_table crate
dbg!(&active_peers);
active_peers.get(&SocketAddr::new(
std::net::IpAddr::V4(destination_addr),
WG_PORT,
Expand Down

0 comments on commit 5154b15

Please sign in to comment.