Add support to filter sub-domains as well

This commit is contained in:
Patrick Pacher
2020-04-15 09:59:59 +02:00
parent 55e4ae3be1
commit 86a449a619
5 changed files with 107 additions and 15 deletions

View File

@@ -41,9 +41,9 @@ func DecideOnConnection(conn *network.Connection, pkt packet.Packet) { //nolint:
log.Infof("filter: re-evaluating verdict on %s", conn)
conn.Verdict = network.VerdictUndecided
//if conn.Entity != nil {
//conn.Entity.ResetLists()
//}
if conn.Entity != nil {
conn.Entity.ResetLists()
}
}
// grant self