mirror of
https://github.com/slackhq/nebula.git
synced 2026-03-10 00:31:54 -07:00
leftover cruft from merging
This commit is contained in:
parent
f7dd3c0ce4
commit
e4897b07c9
1 changed files with 0 additions and 7 deletions
|
|
@ -908,13 +908,6 @@ func (fp firewallPort) match(p firewall.Packet, incoming bool, c *cert.CachedCer
|
|||
|
||||
var port int32
|
||||
|
||||
if p.Protocol == firewall.ProtoICMP {
|
||||
// port numbers are re-used for connection tracking and SNAT,
|
||||
// but we don't want to actually filter on them for ICMP
|
||||
// ICMP6 is omitted because we don't attempt to parse code/identifier/etc out of ICMP6
|
||||
return fp[firewall.PortAny].match(p, c, caPool)
|
||||
}
|
||||
|
||||
if p.Fragment {
|
||||
port = firewall.PortFragment
|
||||
} else if incoming {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue