Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
xmh0511 committed Sep 12, 2024
1 parent 80645ca commit ff16665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ fn main_entry(quit: Receiver<()>) -> Result<(), BoxError> {

let mut config = tun_rs::Configuration::default();

// #[cfg(any(target_os = "windows", target_os = "linux", target_os = "freebsd",))]
// config.layer(Layer::L2);
#[cfg(any(target_os = "windows", target_os = "linux", target_os = "freebsd",))]
config.layer(Layer::L2);

config
// .address_with_prefix(
Expand Down

0 comments on commit ff16665

Please sign in to comment.