Implement review suggestions

This commit is contained in:
Daniel
2023-08-23 14:50:04 +02:00
parent 5939486767
commit e5baae9bd0
2 changed files with 3 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ func GetDNSRequestConnection(packetInfo *packet.Info) (conn *Connection, ok bool
defer dnsRequestConnectionsLock.RUnlock()
conn, ok = dnsRequestConnections[key]
return
return conn, ok
}
// deleteDNSRequestConnection removes a connection from the dns request connections.