mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add action to auto created passtru mac rule
This commit is contained in:
parent
666f88e0c8
commit
6ffb064f4d
@ -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'])) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user