summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r--etc/inc/captiveportal.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 63ade77..459284c 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -253,7 +253,7 @@ function captiveportal_prune_old() {
/* launch expiretable and remove entries older than $timeout */
mwexec("/usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t " . $idletimeout . " captiveportal");
- $after_prune = `/sbin/pfctl -A captiveportal -sr`;
+ $after_prune = `/sbin/pfctl -t captiveportal -T show`;
/*
* loop back through and deterimine if expiretable removed a client.
OpenPOWER on IntegriCloud