summaryrefslogtreecommitdiffhomepage
path: root/test/iptables/iptables_test.go
diff options
context:
space:
mode:
authorNayana Bidari <nybidari@google.com>2020-01-09 10:03:22 -0800
committerNayana Bidari <nybidari@google.com>2020-01-09 10:24:26 -0800
commit6cc8e2d814f99439e01c308e16f6631d75578ec0 (patch)
tree1080b01bcc361327f961cf4c0e39fb335a3d7f60 /test/iptables/iptables_test.go
parentd057871f410088fe6825b1dde695f015e36abf73 (diff)
Add test to check iptables redirect port rule
Diffstat (limited to 'test/iptables/iptables_test.go')
-rw-r--r--test/iptables/iptables_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/iptables/iptables_test.go b/test/iptables/iptables_test.go
index bfbf1bb87..d57ddc0fe 100644
--- a/test/iptables/iptables_test.go
+++ b/test/iptables/iptables_test.go
@@ -177,3 +177,10 @@ func TestFilterInputDropDifferentUDPPort(t *testing.T) {
t.Fatal(err)
}
}
+
+func TestFilterInputRedirectUDPPort(t *testing.T) {
+ if err := singleTest(FilterInputRedirectUDPPort{}); err != nil {
+ t.Fatal(err)
+ }
+}
+