summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-09-09 09:14:52 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-09-12 08:44:50 -0300
commit6ffb064f4d588cf6f3bab4b34aacbebc2e2c9bac (patch)
tree1f95e6344cba979ace5af222ca8d89177f2a7060 /etc/inc/captiveportal.inc
parent666f88e0c81465984be477eeb8de4b31d97875fa (diff)
downloadpfsense-6ffb064f4d588cf6f3bab4b34aacbebc2e2c9bac.zip
pfsense-6ffb064f4d588cf6f3bab4b34aacbebc2e2c9bac.tar.gz
Add action to auto created passtru mac rule
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r--etc/inc/captiveportal.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 0f73b0a..da55c89 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -1883,6 +1883,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut
if ($passthrumac) {
$mac = array();
+ $mac['action'] = 'pass';
$mac['mac'] = $clientmac;
$mac['ip'] = $clientip; /* Used only for logging */
if (isset($config['captiveportal'][$cpzone]['passthrumacaddusername'])) {
OpenPOWER on IntegriCloud