Add action to auto created passtru mac rule

This commit is contained in:
Renato Botelho 2013-09-09 09:14:52 -03:00
parent 666f88e0c8
commit 6ffb064f4d

View File

@ -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'])) {