wgengine/filter: omit logging for all v6 multicast, remove debug panic :(

This commit is contained in:
Brad Fitzpatrick
2020-08-01 12:40:09 -07:00
parent 9e26ffecf8
commit da3b50ad88
2 changed files with 10 additions and 1 deletions
+4 -1
View File
@@ -349,7 +349,10 @@ func omitDropLogging(p *packet.ParsedPacket, dir direction) bool {
if string(dst) == ipv6AllMLDv2CapableRouters {
return true
}
panic(fmt.Sprintf("Got proto=%2x; src=%x dst=%x", int(p.IPProto), src, dst))
// Actually, just catch all multicast.
if dst[0] == 0xff {
return true
}
}
}
return false