Implement review suggestions

This commit is contained in:
Daniel 2021-08-23 16:34:21 +02:00
parent e16ce0b40f
commit 7b055a7c0a
2 changed files with 2 additions and 1 deletions

View file

@ -102,6 +102,7 @@ func DecideOnConnection(ctx context.Context, conn *network.Connection, pkt packe
// be checked fully.
if conn.Type == network.DNSRequest {
conn.Accept("allowing dns request", noReasonOptionKey)
return
}
// Deciders did not conclude, use default action.

View file

@ -183,7 +183,7 @@ Additionally, you may supply a protocol and port just behind that using numbers
In this case the rule is only matched if the protocol and port also match.
Example: "192.168.0.1 TCP/HTTP"
Important: DNS Requests are only matched against domain and filter list rules, all others require an IP address and are checked only with the ensuing IP connection.
Important: DNS Requests are only matched against domain and filter list rules, all others require an IP address and are checked only with the following IP connection.
`, `"`, "`")
// Endpoint Filter List