Skip to content

Commit

Permalink
Set as 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sampoder committed Aug 17, 2023
1 parent 3dd0062 commit 9637315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tun/tests/configure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fn test_create() {
fn test_set_get_broadcast_addr() {
let tun = TunInterface::new()?;

let addr = Ipv4Addr::new(10, 0, 0, 1);
let addr = Ipv4Addr::new(0, 0, 0, 0);
tun.set_broadcast_addr(addr)?;
let result = tun.broadcast_addr()?;

Expand Down

0 comments on commit 9637315

Please sign in to comment.