summaryrefslogtreecommitdiff
path: root/regress/sbin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2008-05-09 05:41:03 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2008-05-09 05:41:03 +0000
commitbda6c79c6118a8b96973eefec9bb095c9c668d3c (patch)
treef8fd4e1945a0ec89e34f3ba0df96d1e0147f6b76 /regress/sbin
parent02db58fa9d0c3680d164ba2017cdba712d977365 (diff)
convert port byte order in the production; add port keyword; ok deraadt@
Diffstat (limited to 'regress/sbin')
-rw-r--r--regress/sbin/pfctl/pf97.in6
-rw-r--r--regress/sbin/pfctl/pf97.ok6
2 files changed, 6 insertions, 6 deletions
diff --git a/regress/sbin/pfctl/pf97.in b/regress/sbin/pfctl/pf97.in
index 8f3d9415a96..c9aad6e935a 100644
--- a/regress/sbin/pfctl/pf97.in
+++ b/regress/sbin/pfctl/pf97.in
@@ -1,4 +1,4 @@
-pass in on em0 inet proto tcp from any to any port 220:230 divert-to 127.0.0.1 22
+pass in on em0 inet proto tcp from any to any port 220:230 divert-to 127.0.0.1 port 22
pass out on em0 inet proto tcp from any to any port 220:230 divert-reply
-pass in on em0 inet proto 103 divert-to 127.0.0.1 103
-pass on em0 inet proto tcp from any to any port 80 divert-to 127.0.0.1 8080
+pass on em0 inet proto tcp from any to any port 80 divert-to 127.0.0.1 port 8080
+pass in on em0 inet proto 103 divert-to 127.0.0.1 port 103 # FIXME
diff --git a/regress/sbin/pfctl/pf97.ok b/regress/sbin/pfctl/pf97.ok
index 66377f1c422..f81acb2d023 100644
--- a/regress/sbin/pfctl/pf97.ok
+++ b/regress/sbin/pfctl/pf97.ok
@@ -1,4 +1,4 @@
-pass in on em0 inet proto tcp from any to any port 220:230 flags S/SA keep state divert-to 127.0.0.1 22
+pass in on em0 inet proto tcp from any to any port 220:230 flags S/SA keep state divert-to 127.0.0.1 port 22
pass out on em0 inet proto tcp from any to any port 220:230 flags S/SA keep state divert-reply
-pass in on em0 inet proto pim all keep state divert-to 127.0.0.1 103
-pass on em0 inet proto tcp from any to any port = www flags S/SA keep state divert-to 127.0.0.1 8080
+pass on em0 inet proto tcp from any to any port = www flags S/SA keep state divert-to 127.0.0.1 port 8080
+pass in on em0 inet proto pim all keep state divert-to 127.0.0.1 port 103