mirror of
https://github.com/emanuele-f/PCAPdroid.git
synced 2026-05-08 21:12:26 +00:00
Do not capture 224.0.0.0/4 multicast traffic
Possible fix for SSDP discovery, see #359
This commit is contained in:
@@ -429,7 +429,11 @@ public class CaptureService extends VpnService implements Runnable {
|
||||
if (getIPv4Enabled() == 1) {
|
||||
builder.addAddress(vpn_ipv4, 30)
|
||||
.addRoute("0.0.0.0", 1)
|
||||
.addRoute("128.0.0.0", 1)
|
||||
|
||||
// 128.0.0.0/1 - 224.0.0.0/4
|
||||
.addRoute("128.0.0.0", 2)
|
||||
.addRoute("192.0.0.0", 3)
|
||||
.addRoute("240.0.0.0", 4)
|
||||
.addDnsServer(vpn_dns);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user