From 1fc2c5f750bc90d75a3ac19fc95145a748a3811f Mon Sep 17 00:00:00 2001 From: Kevin Krakauer Date: Wed, 17 Feb 2021 18:22:27 -0800 Subject: Move Name() out of netstack Matcher. It can live in the sentry. PiperOrigin-RevId: 358078157 --- pkg/tcpip/stack/iptables_types.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'pkg/tcpip/stack') diff --git a/pkg/tcpip/stack/iptables_types.go b/pkg/tcpip/stack/iptables_types.go index fd9d61e39..b0d84befb 100644 --- a/pkg/tcpip/stack/iptables_types.go +++ b/pkg/tcpip/stack/iptables_types.go @@ -332,9 +332,6 @@ func filterAddress(addr, mask, filterAddr tcpip.Address, invert bool) bool { // A Matcher is the interface for matching packets. type Matcher interface { - // Name returns the name of the Matcher. - Name() string - // Match returns whether the packet matches and whether the packet // should be "hotdropped", i.e. dropped immediately. This is usually // used for suspicious packets. -- cgit v1.2.3