diff options
author | Ermal <eri@pfsense.org> | 2013-03-14 15:20:50 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-03-14 15:20:50 +0000 |
commit | 08e9c732d05b38c9cdcd826ac6a22ff99c155993 (patch) | |
tree | 5c0bdd38f3dc2404dc8a86a7bd91224b4235e515 | |
parent | 016f245986354b5668a29c8342eaaac59f5610c5 (diff) | |
download | pfsense-08e9c732d05b38c9cdcd826ac6a22ff99c155993.zip pfsense-08e9c732d05b38c9cdcd826ac6a22ff99c155993.tar.gz |
Use empty which is more strict
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 4ef1e58..b756c01 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -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); |