summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-03-08 10:35:54 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-03-08 10:48:09 -0300
commitf5c2bf1e3cb1683a585d2f6c97206b19d5e5df01 (patch)
tree2ebb2a82d8a60ff0080983db414eb10606efbb3f /etc/inc/interfaces.inc
parent43c6c9af4b4979e64850daa97c319d60220f0bba (diff)
downloadpfsense-f5c2bf1e3cb1683a585d2f6c97206b19d5e5df01.zip
pfsense-f5c2bf1e3cb1683a585d2f6c97206b19d5e5df01.tar.gz
Fix logic inversion from 126ff5b264
Diffstat (limited to 'etc/inc/interfaces.inc')
-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 635e049..2d19dc9 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2973,7 +2973,7 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven
pfSense_interface_mtu($vlan['vlanif'], $wancfg['mtu']);
} else {
$vlanmtu = $config['interfaces'][$assignedport]['mtu'];
- if ((empty($vlanmtu) || ($vlanmtu > $wancfg['mtu'])) && (get_interface_mtu($vlan['vlanif']) != $wancfg['mtu']))
+ if ((empty($vlanmtu) || ($vlanmtu >= $wancfg['mtu'])) && (get_interface_mtu($vlan['vlanif']) != $wancfg['mtu']))
pfSense_interface_mtu($vlan['vlanif'], $wancfg['mtu']);
}
}
OpenPOWER on IntegriCloud