diff options
author | Kevin Krakauer <krakauer@google.com> | 2020-01-08 11:16:41 -0800 |
---|---|---|
committer | Kevin Krakauer <krakauer@google.com> | 2020-01-08 11:16:41 -0800 |
commit | 899309c4ebadd0e4e22fbc4da12fbd6719d68a3a (patch) | |
tree | 76d21bbb428cadb0a99b5162d1896b0f92a3c6ca | |
parent | 1e1921e2acdb7357972257219fdffb9edf17bf55 (diff) |
Revert filter_input change
-rw-r--r-- | test/iptables/filter_input.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/iptables/filter_input.go b/test/iptables/filter_input.go index 34a85db97..923f44e68 100644 --- a/test/iptables/filter_input.go +++ b/test/iptables/filter_input.go @@ -43,7 +43,7 @@ func (FilterInputDropUDP) Name() string { // ContainerAction implements TestCase.ContainerAction. func (FilterInputDropUDP) ContainerAction(ip net.IP) error { - if err := filterTable("-A", "INPUT", "-j", "ACCEPT"); err != nil { + if err := filterTable("-A", "INPUT", "-p", "udp", "-j", "DROP"); err != nil { return err } |