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
0bf1e92524
commit
6b1cb3fda7
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user