From 6f817cad6d1962728cd48db76d24a7cd135eb227 Mon Sep 17 00:00:00 2001 From: Viktor Liu Date: Mon, 3 Nov 2025 13:47:33 +0100 Subject: [PATCH] Remove duplicate code --- client/firewall/uspfilter/filter.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/client/firewall/uspfilter/filter.go b/client/firewall/uspfilter/filter.go index c236ebf7d..a480bbdbb 100644 --- a/client/firewall/uspfilter/filter.go +++ b/client/firewall/uspfilter/filter.go @@ -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