1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-01-03 13:54:09 +00:00

Fixed UDP caching

This commit is contained in:
M66B 2019-04-17 15:42:31 +02:00
parent 7849a0c3a5
commit ffb8ecb457

View file

@ -401,10 +401,7 @@ jint get_uid_sub(const int version, const int protocol,
log_android(ANDROID_LOG_INFO, "uid v%d p%d %s/%u > %s/%u => %d (from cache)",
version, protocol, source, sport, dest, dport, uid_cache[i].uid);
if (protocol == IPPROTO_UDP)
return -2;
else
return uid_cache[i].uid;
return uid_cache[i].uid;
}
// Get proc file name