summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2020-01-27 12:27:04 -0800
committerKevin Krakauer <krakauer@google.com>2020-01-27 12:27:04 -0800
commit29316e66adfc49c158425554761e34c12338f1d9 (patch)
tree9406908331249c7028221744470fd734d314a549 /test
parent67243ca51c4bb98a00509b2ea930e03993c5b285 (diff)
Cleanup for GH review.
Diffstat (limited to 'test')
-rw-r--r--test/iptables/filter_input.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/iptables/filter_input.go b/test/iptables/filter_input.go
index bc963d40e..e9f0978eb 100644
--- a/test/iptables/filter_input.go
+++ b/test/iptables/filter_input.go
@@ -264,9 +264,9 @@ func (FilterInputMultiUDPRules) ContainerAction(ip net.IP) error {
if err := filterTable("-A", "INPUT", "-p", "udp", "-m", "udp", "--destination-port", fmt.Sprintf("%d", dropPort), "-j", "DROP"); err != nil {
return err
}
- // if err := filterTable("-A", "INPUT", "-p", "udp", "-m", "udp", "--destination-port", fmt.Sprintf("%d", acceptPort), "-j", "ACCEPT"); err != nil {
- // return err
- // }
+ if err := filterTable("-A", "INPUT", "-p", "udp", "-m", "udp", "--destination-port", fmt.Sprintf("%d", acceptPort), "-j", "ACCEPT"); err != nil {
+ return err
+ }
return filterTable("-L")
}