diff options
author | Ermal <eri@pfsense.org> | 2013-03-07 11:42:08 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-03-07 11:42:08 +0000 |
commit | 59297ade82bf551a98427cac7f7d79e31d09b3c2 (patch) | |
tree | 3f4b71469ca1f9ff0d1414435584b17c0611f7c3 /etc | |
parent | d35233daed0f99e4e3a1a22823422e0585f7f017 (diff) | |
download | pfsense-59297ade82bf551a98427cac7f7d79e31d09b3c2.zip pfsense-59297ade82bf551a98427cac7f7d79e31d09b3c2.tar.gz |
Sprinkle some XXX just for being consistent
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 98d0bab..c79554b 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2909,10 +2909,12 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven } else if ($mtu != get_interface_mtu($realhwif)) pfSense_interface_mtu($realhwif, $mtu); } else if ($mtu != get_interface_mtu($realhwif)) + /* XXX: This is really dangerous for example with vlans changing their parent mtu! */ pfSense_interface_mtu($realhwif, $mtu); /* * All vlans need to use the same mtu value as their parent. + * XXX: This is wrong. It should check for assigned vlans and see if there is any mtu set */ if (is_array($config['vlans']['vlan'])) foreach ($config['vlans']['vlan'] as $vlan) |