summaryrefslogtreecommitdiff
path: root/regress/sbin
diff options
context:
space:
mode:
authorMarco Pfatschbacher <mpf@cvs.openbsd.org>2007-09-19 12:51:50 +0000
committerMarco Pfatschbacher <mpf@cvs.openbsd.org>2007-09-19 12:51:50 +0000
commitdee805af6c61af080e3484cbea0ff73ce5cbf8a4 (patch)
treec435d150615d78463528ac5c246372f35e530b20 /regress/sbin
parent39931130ca7b5d6f362f959a23168d91e55bcb33 (diff)
This got broken when a second pool (pfrkentry2) was added
for source-tracking support about 3 years ago. OK henning
Diffstat (limited to 'regress/sbin')
-rw-r--r--regress/sbin/pfctl/pfr.exec8
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/sbin/pfctl/pfr.exec b/regress/sbin/pfctl/pfr.exec
index 99961814461..23429fa8ec6 100644
--- a/regress/sbin/pfctl/pfr.exec
+++ b/regress/sbin/pfctl/pfr.exec
@@ -6,8 +6,8 @@ pfctl -a $A -Fr 2>/dev/null
pfctl -a $A -Fn 2>/dev/null
KT_A=`vmstat -m | awk '/pfrktable/{print $3}'`
KT_R=`vmstat -m | awk '/pfrktable/{print $5}'`
-KE_A=`vmstat -m | awk '/pfrkentry/{print $3}'`
-KE_R=`vmstat -m | awk '/pfrkentry/{print $5}'`
+KE_A=`vmstat -m | awk '/pfrkentry /{print $3}'`
+KE_R=`vmstat -m | awk '/pfrkentry /{print $5}'`
echo "# create"
echo "table <regress> persist" | pfctl -a $A -Tl -f - 2>&1 || exit 1
for LINE in `sed -e "s/ /_/g" $1`; do
@@ -81,8 +81,8 @@ pfctl -a $A -Fn 2>&1
let KT_A=`vmstat -m | awk '/pfrktable/{print $3}'`-$KT_A
let KT_R=`vmstat -m | awk '/pfrktable/{print $5}'`-$KT_R
let KT_L=$KT_A-$KT_R
-let KE_A=`vmstat -m | awk '/pfrkentry/{print $3}'`-$KE_A
-let KE_R=`vmstat -m | awk '/pfrkentry/{print $5}'`-$KE_R
+let KE_A=`vmstat -m | awk '/pfrkentry /{print $3}'`-$KE_A
+let KE_R=`vmstat -m | awk '/pfrkentry /{print $5}'`-$KE_R
let KE_L=$KE_A-$KE_R
echo "ktable: $KT_A allocated, $KT_R released, $KT_L leaked."
echo "kentry: $KE_A allocated, $KE_R released, $KE_L leaked."