mirror of https://github.com/oxen-io/lokinet
invert logic for android dns hook
This commit is contained in:
parent
f51d0a80a2
commit
10cd331863
|
@ -127,8 +127,11 @@ namespace llarp::dns
|
|||
|
||||
if (m_QueryHandler and m_QueryHandler->ShouldHookDNSMessage(msg))
|
||||
return true;
|
||||
|
||||
#ifdef ANDROID
|
||||
return IsUpstreamResolver(to, from);
|
||||
#else
|
||||
return !IsUpstreamResolver(to, from);
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue