From abc16d3bef1aae053c34064f4d5b3d2e930afeb7 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 3 Feb 2016 18:25:40 +0100 Subject: [PATCH] Revert "Native disabled DNS experiment" This reverts commit be3dbe50dcf53c037ec0e72f2b71eb4eaa08193a. --- app/src/main/jni/netguard/netguard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/jni/netguard/netguard.c b/app/src/main/jni/netguard/netguard.c index 101a880f..0086f173 100644 --- a/app/src/main/jni/netguard/netguard.c +++ b/app/src/main/jni/netguard/netguard.c @@ -1415,7 +1415,7 @@ void handle_ip(const struct arguments *args, const uint8_t *pkt, const size_t le // Check if allowed int32_t allowed = 0; if (protocol == IPPROTO_UDP && dport == 53) - allowed = -1; // allow DNS + allowed = 5353; // allow DNS else if (protocol == IPPROTO_UDP && has_udp_session(args, pkt, payload)) { allowed = -1; log_android(ANDROID_LOG_INFO, "UDP existing session allowed");