Skip to content

Update wg nt#9

Merged
Hasan6979 merged 24 commits intolibtelio-mainfrom
update_wg_nt
Aug 28, 2025
Merged

Update wg nt#9
Hasan6979 merged 24 commits intolibtelio-mainfrom
update_wg_nt

Conversation

@Hasan6979
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@tomaszklak tomaszklak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Comment thread examples/demo_server.rs
Comment on lines -93 to -105
let stats = adapter.get_config().unwrap();
for peer in stats.peers {
let handshake_age = Instant::now().duration_since(peer.last_handshake);
println!(
" {:?}, up: {}, down: {}, handsake: {}s ago",
peer.allowed_ips,
peer.tx_bytes,
peer.rx_bytes,
handshake_age.as_secs_f32()
);
}
// Go to 163.172.161.0 in your browser to see bandwidth numbers here change
// because only traffic to that ip is routed through the interface
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: it's not clear to me, why was this part removed.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this commit it looks like you have removed this section: 76d4273

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aha. Because in the merge same thing was duplicated.

It was before earlier https://github.com/NordSecurity/wireguard-nt-rust-wrapper/blob/libtelio-main/examples/demo_server.rs#L75

And then in the new version it was after https://github.com/nulldotblack/wireguard-nt/blob/main/examples/demo_server.rs#L73 so during the merge it created double.

@stalowyjez
Copy link
Copy Markdown

Looks good, +1

@Hasan6979 Hasan6979 merged commit f6c5684 into libtelio-main Aug 28, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants