mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix bridge checking missed in previous convert to multi interface capble CP. This is arguably needed since with new bridge the interface might be in full routing mode and be bridged just for SNAP port. Anyway people can run CP on top of the bridge interface itself anyway.
This commit is contained in:
parent
b27f1caf39
commit
97edea16c2
@ -100,8 +100,9 @@ if ($_POST) {
|
||||
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
|
||||
|
||||
/* make sure no interfaces are bridged */
|
||||
if (link_interface_to_bridge($pconfig['cinterface']))
|
||||
$input_errors[] = "The captive portal cannot be used when one or more interfaces are bridged.";
|
||||
foreach ($pconfig['cinterface'] as $cpbrif)
|
||||
if (link_interface_to_bridge($cpbrif))
|
||||
$input_errors[] = "The captive portal cannot be used on interface {$cpbrif} since it is part of a bridge.";
|
||||
|
||||
if ($_POST['httpslogin_enable']) {
|
||||
if (!$_POST['cert'] || !$_POST['key']) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user