summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-09-09 10:00:39 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-09-12 08:44:51 -0300
commit6b1cb3fda770ea2edeed57c353e131f17830cab4 (patch)
tree7ecaea07c1298099ecfc8ab035730091a3a73a02
parent0bf1e9252466820fcf161c4805f9f4dfc7fdb59e (diff)
downloadpfsense-6b1cb3fda770ea2edeed57c353e131f17830cab4.zip
pfsense-6b1cb3fda770ea2edeed57c353e131f17830cab4.tar.gz
Add action to auto created passtru mac rule
-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 7bbb3cd..e1452ef 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -1791,6 +1791,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut
$macrules .= "pipe delete {$pipeno}\n";
}
unset($config['captiveportal'][$cpzone]['passthrumac'][$idx]);
+ $mac['action'] = 'pass';
$mac['mac'] = $clientmac;
$config['captiveportal'][$cpzone]['passthrumac'][] = $mac;
$macrules .= captiveportal_passthrumac_configure_entry($mac);
OpenPOWER on IntegriCloud