summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls Piņķis <emils@mullvad.net>2022-09-07 13:56:56 +0200
committerEmīls Piņķis <emils@mullvad.net>2022-09-13 11:51:04 +0200
commit94250f3444422ce2d68aa10c58f77a9d9459a5c4 (patch)
tree783bbea4c1a93308d913bbe6c7e3c53acf8338fe
parentb1323f302b1d4747d2926ed211f650fbf07b4771 (diff)
downloadmullvadvpn-94250f3444422ce2d68aa10c58f77a9d9459a5c4.tar.xz
mullvadvpn-94250f3444422ce2d68aa10c58f77a9d9459a5c4.zip
Use optional allowed endpoint
-rw-r--r--mullvad-daemon/src/early_boot_firewall.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/mullvad-daemon/src/early_boot_firewall.rs b/mullvad-daemon/src/early_boot_firewall.rs
index 5a852abda7..7e93f47b27 100644
--- a/mullvad-daemon/src/early_boot_firewall.rs
+++ b/mullvad-daemon/src/early_boot_firewall.rs
@@ -24,12 +24,7 @@ pub async fn initialize_firewall() -> Result<(), Error> {
});
let policy = FirewallPolicy::Blocked {
allow_lan,
- allowed_endpoint: talpid_types::net::AllowedEndpoint {
- endpoint: talpid_types::net::Endpoint {
- address: (std::net::Ipv4Addr::LOCALHOST, 0).into(),
- protocol: talpid_types::net::TransportProtocol::Tcp,
- },
- },
+ allowed_endpoint: None,
};
log::info!("Applying firewall policy {policy}");
firewall.apply_policy(policy)?;