summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2020-01-08 11:16:41 -0800
committerKevin Krakauer <krakauer@google.com>2020-01-08 11:16:41 -0800
commit899309c4ebadd0e4e22fbc4da12fbd6719d68a3a (patch)
tree76d21bbb428cadb0a99b5162d1896b0f92a3c6ca /test
parent1e1921e2acdb7357972257219fdffb9edf17bf55 (diff)
Revert filter_input change
Diffstat (limited to 'test')
-rw-r--r--test/iptables/filter_input.go2
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
}