Fix IPv6 connection handling and refactor packet parsing

This commit is contained in:
Safing
2020-07-28 14:06:05 +02:00
committed by Patrick Pacher
parent af8c974a85
commit 9639775ad7
5 changed files with 159 additions and 88 deletions

View File

@@ -59,7 +59,7 @@ func (pkt *Base) HasPorts() bool {
switch pkt.info.Protocol {
case TCP:
return true
case UDP:
case UDP, UDPLite:
return true
}
return false