Fixed UDP caching

This commit is contained in:
M66B 2019-04-17 15:42:31 +02:00
parent 7849a0c3a5
commit ffb8ecb457
1 changed files with 1 additions and 4 deletions

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