mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use empty which is more strict
This commit is contained in:
parent
016f245986
commit
08e9c732d0
@ -2914,7 +2914,7 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven
|
||||
|
||||
$mtu = get_interface_default_mtu(remove_ifindex($realhwif));
|
||||
$assignedparent = convert_real_interface_to_friendly_interface_name($realhwif);
|
||||
if (!empty($assignedparent) && isset($config['interfaces'][$assignedparent]['mtu']))
|
||||
if (!empty($assignedparent) && !empty($config['interfaces'][$assignedparent]['mtu']))
|
||||
$mtu = $config['interfaces'][$assignedparent]['mtu'];
|
||||
|
||||
$vlanifs = link_interface_to_vlans($realhwif);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user