mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-17 09:06:52 +01:00
Allow firewall rules on any IP protocol number
This commit is contained in:
1 parent
9e96894bd7
commit
610ba57105
4 files changed
+193
-57
No files matched your search
@@ -50,6 +50,12 @@ func (fp Packet) MarshalJSON() ([]byte, error) {
|
||||
proto = "icmpv6"
|
||||
case iputil.IPProtocolUDP:
|
||||
proto = "udp"
|
||||
case iputil.IPProtocolUDPLite:
|
||||
proto = "udplite"
|
||||
case iputil.IPProtocolDCCP:
|
||||
proto = "dccp"
|
||||
case iputil.IPProtocolSCTP:
|
||||
proto = "sctp"
|
||||
default:
|
||||
proto = fmt.Sprintf("unknown %v", fp.Protocol)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user