mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-29 19:34:59 +00:00
Revert "Native disabled DNS experiment"
This reverts commit be3dbe50dc
.
This commit is contained in:
parent
4a042339ba
commit
abc16d3bef
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue