Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
xmh0511 committed Sep 11, 2024
1 parent 8c23829 commit 6d121b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fn main_entry(quit: Receiver<()>) -> Result<(), BoxError> {
"ffff:ffff:ffff:ffff::".parse::<IpAddr>().unwrap(),
)
//.address_with_prefix((10, 0, 0, 9), 24u8)
.destination((10, 0, 0, 1))
//.destination((10, 0, 0, 1))
.up();

let dev = Arc::new(tun_rs::create(&config)?);
Expand Down

0 comments on commit 6d121b0

Please sign in to comment.