summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2009-06-30 03:44:36 +0000
committerDavid Krause <david@cvs.openbsd.org>2009-06-30 03:44:36 +0000
commit8431875bb1f31c88ba8a59d234508735451cb069 (patch)
tree5c974ebf4f2283981c576f35e32f2426fe631f1b
parentc1ed5c170e4d9bb271607bf0ecc7380a652d2463 (diff)
add "-o none" to pfctl call to prevent automatic table creation of
multiple addresses which causes the test to fail; ok sthen@
-rw-r--r--regress/sbin/pfctl/if2ip2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/sbin/pfctl/if2ip b/regress/sbin/pfctl/if2ip
index 0b9236ef61c..a1424366244 100644
--- a/regress/sbin/pfctl/if2ip
+++ b/regress/sbin/pfctl/if2ip
@@ -3,7 +3,7 @@
# done by the userland pfctl tool and by the kernel PF dynamic code.
if2ip_user() {
- echo "pass in from $1" | pfctl -nvf- 2>/dev/null \
+ echo "pass in from $1" | pfctl -o none -nvf- 2>/dev/null \
| awk '{print " "(($3=="on")?$7:$5)}' | sort -u
}