misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli 2021-04-04 00:31:18 +02:00
commit fad6172b40
No known key found for this signature in database
GPG key ID: 82E42E7F3B34C97E

View file

@ -199,7 +199,7 @@ func (q *Queue) worker() {
srcIP = ip4.SrcIP
dstIP = ip4.DstIP
} else {
ip6 := lip4.(*layers.IPv6)
ip6 := lip6.(*layers.IPv6)
srcIP = ip6.SrcIP
dstIP = ip6.DstIP
}