summaryrefslogtreecommitdiffhomepage
path: root/test/iptables/iptables_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/iptables/iptables_test.go')
-rw-r--r--test/iptables/iptables_test.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/iptables/iptables_test.go b/test/iptables/iptables_test.go
index d57ddc0fe..fce9247aa 100644
--- a/test/iptables/iptables_test.go
+++ b/test/iptables/iptables_test.go
@@ -178,9 +178,14 @@ func TestFilterInputDropDifferentUDPPort(t *testing.T) {
}
}
-func TestFilterInputRedirectUDPPort(t *testing.T) {
- if err := singleTest(FilterInputRedirectUDPPort{}); err != nil {
+func TestFilterNATRedirectUDPPort(t *testing.T) {
+ if err := singleTest(FilterNATRedirectUDPPort{}); err != nil {
t.Fatal(err)
}
}
+func TestFilterNATDropUDP(t *testing.T) {
+ if err := singleTest(FilterNATDropUDP{}); err != nil {
+ t.Fatal(err)
+ }
+}