vlan_mtu and vlan_hwcsum usually can't be disabled, better to skip from the list of configurable hardware options.

This commit is contained in:
Ad Schellevis 2017-08-11 17:05:11 +02:00
parent 621edec479
commit 53a4a54f2b

View File

@ -225,7 +225,7 @@ function interface_vlan_configure(&$vlan)
}
}
// set one tag at a time to avoid driver issues
foreach (array('vlanmtu', 'vlanhwtag', 'vlanhwfilter', 'vlanhwcsum', 'vlanhwtso') as $tag) {
foreach (array('vlanhwtag', 'vlanhwfilter', 'vlanhwtso') as $tag) {
if (!isset($config['system']['disablevlanhwfilter'])) {
if (!in_array($tag, $selected_opts)) {
legacy_interface_flags($member, $tag);