summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index e29cacb..8ec0b42 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -456,7 +456,7 @@ function interface_bridge_configure(&$bridge) {
$realif = get_real_interface($member);
$opts = pfSense_get_interface_addresses($realif);
$mtu = $opts['mtu'];
- if (substr($realif, 0, 3) == "gif" && $mtu < 1500)
+ if (substr($realif, 0, 3) == "gif" && $mtu <= 1500)
continue;
if (!isset($opts['encaps']['txcsum']))
$commontx = false;
@@ -623,7 +623,7 @@ function interface_bridge_add_member($bridgeif, $interface) {
$mtu = get_interface_mtu($brigeif);
$mtum = get_interface_mtu($interface);
- if ($mtu != $mtum)
+ if ($mtu != $mtum && substr($interface, 0, 3) == "gif" && $mtu <= 1500)
pfSense_interface_mtu($interface, $mtu);
$options = pfSense_get_interface_addresses($bridgeif);
OpenPOWER on IntegriCloud