summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-07-09 10:41:15 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-07-09 10:41:15 +0000
commit850cce041528fc75041d5d6d84216d91a9da94f1 (patch)
treed09a2fccfb9e94220e911cec5ad077780134956c
parent1732cbb3c4713ada24dbe08acbda42051a89722a (diff)
the new interface-to-ip lookup fuctions requires the address family to be
specified in this cases. ok pb@, dhartmei@, kjell@
-rw-r--r--regress/sbin/pfctl/pf18.in2
-rw-r--r--regress/sbin/pfctl/pf20.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/pf18.in b/regress/sbin/pfctl/pf18.in
index 49e8708765b..629f18ea319 100644
--- a/regress/sbin/pfctl/pf18.in
+++ b/regress/sbin/pfctl/pf18.in
@@ -9,7 +9,7 @@ nat on lo0 proto tcp from 192.168.1.2 to any -> 10.0.0.2
nat on lo0 proto udp from 192.168.1.3 to any -> 10.0.0.3
nat on lo0 proto icmp from 192.168.1.4 to any -> 10.0.0.4
-nat on lo0 from $TEST_LIST1 to $TEST_LIST2 -> lo0
+nat on lo0 inet from $TEST_LIST1 to $TEST_LIST2 -> lo0
nat on lo0 inet from 192.168.0.1/24 to any -> (lo0)
diff --git a/regress/sbin/pfctl/pf20.in b/regress/sbin/pfctl/pf20.in
index 3b22a5155c4..274f01787bf 100644
--- a/regress/sbin/pfctl/pf20.in
+++ b/regress/sbin/pfctl/pf20.in
@@ -5,5 +5,5 @@ GOOD = "{ lo0, lo1 }"
GOOD_NET = "{ 127.0.0.0/24, 10.0.1.0/24 }"
DEST_NET = "{ 1.2.3.4/25, 2.4.6.8/30 }"
-nat on $EVIL from $GOOD_NET to $DEST_NET -> $EVIL
+nat on $EVIL inet from $GOOD_NET to $DEST_NET -> $EVIL
rdr on $GOOD proto tcp from $GOOD_NET to $DEST_NET port 21 -> 127.0.0.1 port 8021