mirror of https://github.com/M66B/NetGuard.git
Fixed UDP caching
This commit is contained in:
parent
7849a0c3a5
commit
ffb8ecb457
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue