diff options
author | Ermal <eri@pfsense.org> | 2011-07-22 20:38:08 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-07-22 20:38:32 +0000 |
commit | 503830368e44dd78eb14ee822ec47751e5cde03b (patch) | |
tree | f1fd3d7f77f3ce42ce9914f49f2821d2b5579062 /etc/inc/interfaces.inc | |
parent | cec917b53a3921b5ce427045219240b71087103b (diff) | |
download | pfsense-503830368e44dd78eb14ee822ec47751e5cde03b.zip pfsense-503830368e44dd78eb14ee822ec47751e5cde03b.tar.gz |
Correct check for the gif mtu during an interface readdition to bridge.
Diffstat (limited to 'etc/inc/interfaces.inc')
-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 8ec0b42..25ea227 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -623,7 +623,7 @@ function interface_bridge_add_member($bridgeif, $interface) { $mtu = get_interface_mtu($brigeif); $mtum = get_interface_mtu($interface); - if ($mtu != $mtum && substr($interface, 0, 3) == "gif" && $mtu <= 1500) + if ($mtu != $mtum && !(substr($interface, 0, 3) == "gif" && $mtu <= 1500)) pfSense_interface_mtu($interface, $mtu); $options = pfSense_get_interface_addresses($bridgeif); |