summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-07-25 15:55:39 -0300
committerRenato Botelho <renato@netgate.com>2017-07-25 15:55:39 -0300
commitf6e6ff31d24bf5e158026c0935b4d91d3fa2eaa7 (patch)
treee65105f949a1f42eb43ec8fff8a609961663d663 /src/etc
parentf4c867e009b8270ec6b61db92f6c53f60b128770 (diff)
downloadpfsense-f6e6ff31d24bf5e158026c0935b4d91d3fa2eaa7.zip
pfsense-f6e6ff31d24bf5e158026c0935b4d91d3fa2eaa7.tar.gz
Restore calls to pfSense_ipfw_table_zerocnt(), it's fixed now
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/inc/captiveportal.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/etc/inc/captiveportal.inc b/src/etc/inc/captiveportal.inc
index 92553b1..a80f156 100644
--- a/src/etc/inc/captiveportal.inc
+++ b/src/etc/inc/captiveportal.inc
@@ -860,10 +860,8 @@ function captiveportal_prune_old() {
false, // Not an interim request
$rastop_time); // Stop Time
$clientsn = (is_ipaddrv6($cpentry[2])) ? 128 : 32;
- /* XXX Fixme
- $_gb = @pfSense_ipfw_table_zerocnt("{$cpzone}_auth_up", {$cpentry[2]/$clientsn});
- $_gb = @pfSense_ipfw_table_zerocnt("{$cpzone}_auth_down", {$cpentry[2]/$clientsn});
- */
+ pfSense_ipfw_table_zerocnt("{$cpzone}_auth_up", "{$cpentry[2]}/{$clientsn}");
+ pfSense_ipfw_table_zerocnt("{$cpzone}_auth_down", "{$cpentry[2]}/{$clientsn}");
if ($cpcfg['reauthenticateacct'] == "stopstartfreeradius") {
/* Need to pause here or the FreeRADIUS server gets confused about packet ordering. */
sleep(1);
OpenPOWER on IntegriCloud