Remove duplicate code

This commit is contained in:
Viktor Liu
2025-11-03 13:47:33 +01:00
parent e3bb8c1b7b
commit 6f817cad6d

View File

@@ -56,12 +56,6 @@ const (
var errNatNotSupported = errors.New("nat not supported with userspace firewall")
// serviceKey represents a protocol/port combination for netstack service registry
type serviceKey struct {
protocol gopacket.LayerType
port uint16
}
// RuleSet is a set of rules grouped by a string key
type RuleSet map[string]PeerRule