nfqws,tpws: minor comment update

This commit is contained in:
bol-van
2024-11-02 18:35:32 +03:00
parent 8f8e082ab4
commit 174772e87f
2 changed files with 4 additions and 4 deletions

View File

@@ -44,14 +44,14 @@ static bool dp_match(struct desync_profile *dp, const struct sockaddr *dest, con
// target ip does not match
return false;
// autohostlist profile matching l3/l4 filter always win
// autohostlist profile matching l3/l4/l7 filter always win
if (dp->hostlist_auto) return true;
if (PROFILE_HOSTLISTS_EMPTY(dp))
// profile without hostlist filter wins
return true;
else if (hostname)
// without known hostname first profile matching l3/l4 filter and without hostlist filter wins
// without known hostname first profile matching l3/l4/l7 filter and without hostlist filter wins
return HostlistCheck(dp, hostname, NULL, true);
return false;