Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Nov 22, 2023
1 parent aeb52cf commit 6ad878e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test-manager/src/tests/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub async fn test_lan(
log::info!("Test whether outgoing LAN traffic is blocked");

let detected_probes =
send_guest_probes(rpc.clone(), Some(default_interface), lan_destination).await?;
send_guest_probes(rpc.clone(), default_interface, lan_destination).await?;
assert!(
detected_probes.all(),
"did not observe all outgoing LAN packets: {detected_probes:?}"
Expand Down Expand Up @@ -195,7 +195,7 @@ pub async fn test_lockdown(
// Send traffic outside the tunnel to sanity check that the internet is *not* reachable via non-
// tunnel interfaces.
let detected_probes =
send_guest_probes(rpc.clone(), Some(default_interface), inet_destination).await?;
send_guest_probes(rpc.clone(), default_interface, inet_destination).await?;
assert!(
detected_probes.none(),
"observed outgoing packets to internet: {detected_probes:?}"
Expand Down

0 comments on commit 6ad878e

Please sign in to comment.