Commit 71748e56 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) fix hwtags

parent 306083f5
...@@ -273,10 +273,13 @@ function interface_vlan_configure(&$vlan) ...@@ -273,10 +273,13 @@ function interface_vlan_configure(&$vlan)
} }
foreach ($members as $member) { foreach ($members as $member) {
if (!isset($config['system']['disablevlanhwfilter'])) { // set one tag at a time to avoid driver issues
legacy_interface_flags($member, 'vlanmtu vlanhwtag vlanhwfilter vlanhwcsum vlanhwtso'); foreach (array('vlanmtu', 'vlanhwtag', 'vlanhwfilter', 'vlanhwcsum', 'vlanhwtso') as $tag) {
} else { if (!isset($config['system']['disablevlanhwfilter'])) {
legacy_interface_flags($member, '-vlanmtu -vlanhwtag -vlanhwfilter -vlanhwcsum -vlanhwtso'); legacy_interface_flags($member, $tag);
} else {
legacy_interface_flags($member, '-'.$tag);
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment