summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2018-09-05 16:31:02 +0200
committerLinus Färnstrand <linus@mullvad.net>2018-09-06 14:51:58 +0200
commit599d22f41e90eb5e488aa7b330387900e62a2504 (patch)
tree31b752ece541ccd73c1ae56fbf229ff1d11fd1b9
parent03339b89e914228fce1633935a0113a6ce7bc99a (diff)
downloadmullvadvpn-599d22f41e90eb5e488aa7b330387900e62a2504.tar.xz
mullvadvpn-599d22f41e90eb5e488aa7b330387900e62a2504.zip
Add LAN->SSDP multicast on macOS
-rw-r--r--talpid-core/src/security/macos/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/talpid-core/src/security/macos/mod.rs b/talpid-core/src/security/macos/mod.rs
index abcfd8e404..e5dd68b872 100644
--- a/talpid-core/src/security/macos/mod.rs
+++ b/talpid-core/src/security/macos/mod.rs
@@ -207,8 +207,10 @@ impl NetworkSecurity {
.to(pfctl::Ip::from(ipnetwork_compat(IpNetwork::V4(
*super::MULTICAST_NET,
)))).build()?;
+ let allow_ssdp = rule_builder.to(pfctl::Ip::from(*super::SSDP_IP)).build()?;
rules.push(allow_net);
rules.push(allow_multicast);
+ rules.push(allow_ssdp);
}
Ok(rules)
}