summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-03-14 15:20:50 +0000
committerErmal <eri@pfsense.org>2013-03-14 15:20:50 +0000
commit08e9c732d05b38c9cdcd826ac6a22ff99c155993 (patch)
tree5c0bdd38f3dc2404dc8a86a7bd91224b4235e515 /etc
parent016f245986354b5668a29c8342eaaac59f5610c5 (diff)
downloadpfsense-08e9c732d05b38c9cdcd826ac6a22ff99c155993.zip
pfsense-08e9c732d05b38c9cdcd826ac6a22ff99c155993.tar.gz
Use empty which is more strict
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
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);
OpenPOWER on IntegriCloud