wgengine/filter: fix IPv4 IGMP spam omission, also omit ff02::16 spam
And add tests. Fixes #618 Updates #402
This commit is contained in:
@ -57,7 +57,7 @@ type NextHeader uint8
|
||||
|
||||
func (p *ParsedPacket) String() string {
|
||||
if p.IPVersion == 6 {
|
||||
return "IPv6{???}"
|
||||
return fmt.Sprintf("IPv6{Proto=%d}", p.IPProto)
|
||||
}
|
||||
switch p.IPProto {
|
||||
case Unknown:
|
||||
|
Reference in New Issue
Block a user