diff options
author | Ermal <eri@pfsense.org> | 2013-03-08 13:31:28 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-03-08 13:31:28 +0000 |
commit | 7965c38f6bb2217884e4f86ddeb4bde2c967fcdd (patch) | |
tree | d9d2d9cf3b17cd663175753e55cb8be35f44f5e0 /etc/inc | |
parent | a58a9ece9cf645c642bab7136a8d1cb9c0123c15 (diff) | |
download | pfsense-7965c38f6bb2217884e4f86ddeb4bde2c967fcdd.zip pfsense-7965c38f6bb2217884e4f86ddeb4bde2c967fcdd.tar.gz |
Be consistent on the check
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 2fb801b..61cf4d6 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2810,7 +2810,7 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven } /* skip vlans for checksumming and polling */ - if (!stristr($realif, "vlan") && is_array($options)) { + if (!stristr($realif, "_vlan") && is_array($options)) { $flags = 0; if(isset($config['system']['disablechecksumoffloading'])) { if (isset($options['encaps']['txcsum'])) @@ -2915,7 +2915,7 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven $mtu = get_interface_default_mtu(remove_ifindex($realhwif)); if (!empty($wancfg['mtu'])) { - if (stristr($realif, "vlan")) { + if (stristr($realif, "_vlan")) { $assginedparent = convert_real_interface_to_friendly_interface_name($realhwif); if (!empty($assginedparent)) { $parentmtu = $config['interfaces'][$assginedparent]['mtu']; |