mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
captive portal, don't generate rules for disabled portal
This commit is contained in:
parent
6d5fcf571b
commit
452eb31ed5
@ -2633,6 +2633,8 @@ EOD;
|
||||
*/
|
||||
if(is_array($config['captiveportal'])) {
|
||||
foreach ($config['captiveportal'] as $cpcfg) {
|
||||
if(!isset($cpcfg['enable']))
|
||||
continue;
|
||||
$cpinterfaces = explode(",", $cpcfg['interface']);
|
||||
$cpiflist = array();
|
||||
$cpiplist = array();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user