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.