diff options
author | Kevin Krakauer <krakauer@google.com> | 2021-02-17 18:22:27 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-17 18:24:34 -0800 |
commit | 1fc2c5f750bc90d75a3ac19fc95145a748a3811f (patch) | |
tree | af4b2ba7a72f7bfc5d05acc0868093aea4d2bf81 /pkg/tcpip/stack | |
parent | f051ec64639b83faabcfe766ff078072def3c2aa (diff) |
Move Name() out of netstack Matcher. It can live in the sentry.
PiperOrigin-RevId: 358078157
Diffstat (limited to 'pkg/tcpip/stack')
-rw-r--r-- | pkg/tcpip/stack/iptables_types.go | 3 |
1 files changed, 0 insertions, 3 deletions
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. |