summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/sbin/pfctl/pf18.in2
-rw-r--r--regress/sbin/pfctl/pf18.ok4
-rw-r--r--regress/sbin/pfctl/pf36.in2
-rw-r--r--regress/sbin/pfctl/pf36.ok2
4 files changed, 5 insertions, 5 deletions
diff --git a/regress/sbin/pfctl/pf18.in b/regress/sbin/pfctl/pf18.in
index c6981f8d85a..6c1589cf2a6 100644
--- a/regress/sbin/pfctl/pf18.in
+++ b/regress/sbin/pfctl/pf18.in
@@ -15,6 +15,6 @@ nat on lo0 inet from 192.168.0.1/24 to any -> (lo0)
nat on lo0 from 192.168.1.8 to ! 172.17.0.0/16 -> 10.0.0.8
-nat on ! lo0 proto { udp, tcp } from any to any -> 10.0.0.8
+nat on ! lo0 proto { udp, tcp } from any to any -> 10.0.0.8 static-port
nat on { lo0, tun0 } from any to any -> 10.0.0.8
diff --git a/regress/sbin/pfctl/pf18.ok b/regress/sbin/pfctl/pf18.ok
index 0d9c533189d..34196031541 100644
--- a/regress/sbin/pfctl/pf18.ok
+++ b/regress/sbin/pfctl/pf18.ok
@@ -16,7 +16,7 @@ nat on lo0 inet from 192.168.1.7 to 172.14.1.2 -> 127.0.0.1
nat on lo0 inet from 192.168.1.7 to 172.16.2.0/24 -> 127.0.0.1
nat on lo0 inet from 192.168.0.0/24 to any -> (lo0)
nat on lo0 inet from 192.168.1.8 to ! 172.17.0.0/16 -> 10.0.0.8
-nat on ! lo0 inet proto udp all -> 10.0.0.8
-nat on ! lo0 inet proto tcp all -> 10.0.0.8
+nat on ! lo0 inet proto udp all -> 10.0.0.8 static-port
+nat on ! lo0 inet proto tcp all -> 10.0.0.8 static-port
nat on lo0 inet all -> 10.0.0.8
nat on tun0 inet all -> 10.0.0.8
diff --git a/regress/sbin/pfctl/pf36.in b/regress/sbin/pfctl/pf36.in
index 7739ec0209b..7071f843847 100644
--- a/regress/sbin/pfctl/pf36.in
+++ b/regress/sbin/pfctl/pf36.in
@@ -2,7 +2,7 @@
nat on lo0 from any to 127.0.0.1 -> { 127.0.0.1, 127.0.0.2 }
nat on lo0 from any to 127.0.0.1 -> { 127.0.0.1, 127.0.0.2 } round-robin
-nat on lo0 from any to 127.0.0.1 -> lo0/24 bitmask
+nat on lo0 from any to 127.0.0.1 -> lo0/24 bitmask static-port
nat on lo0 from any to 127.0.0.1 -> lo0/24 random
nat on lo0 from any to lo0 -> 127.0.0.1/24 source-hash 0x0123456789ABCDEF0123456789abcdef
nat on lo0 from any to 127.0.0.1 -> lo0/24 source-hash foobarlicious
diff --git a/regress/sbin/pfctl/pf36.ok b/regress/sbin/pfctl/pf36.ok
index ab22c412959..53f7d7e9120 100644
--- a/regress/sbin/pfctl/pf36.ok
+++ b/regress/sbin/pfctl/pf36.ok
@@ -1,6 +1,6 @@
nat on lo0 inet from any to 127.0.0.1 -> { 127.0.0.1, 127.0.0.2 } round-robin
nat on lo0 inet from any to 127.0.0.1 -> { 127.0.0.1, 127.0.0.2 } round-robin
-nat on lo0 inet from any to 127.0.0.1 -> 127.0.0.0/24 bitmask
+nat on lo0 inet from any to 127.0.0.1 -> 127.0.0.0/24 bitmask static-port
nat on lo0 inet from any to 127.0.0.1 -> 127.0.0.0/24 random
nat on lo0 inet from any to 127.0.0.1 -> 127.0.0.0/24 source-hash 0x0123456789abcdef0123456789abcdef
nat on lo0 inet from any to 127.0.0.1 -> 127.0.0.0/24 source-hash 0x4da8e393fd22f577426cfdf7fe52d3b0