mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Correctly deterimine if a optional interface should be using dhcp
This commit is contained in:
parent
53c4e9aa77
commit
d3ce564b98
@ -261,7 +261,7 @@ function interfaces_optional_configure_if($opti) {
|
||||
$bridges_total++;
|
||||
} else {
|
||||
/* if user has selected DHCP type then act accordingly */
|
||||
if($optcfg['type'] == 'DHCP') {
|
||||
if($optcfg['ipaddr'] == "dhcp") {
|
||||
interfaces_opt_dhcp_configure($opti);
|
||||
} else {
|
||||
mwexec("/sbin/ifconfig " . escapeshellarg($optcfg['if']) . " " .
|
||||
|
||||
Loading…
Reference in New Issue
Block a user