Commit d70cb582 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) cleanup system_advanced_network.php and add switch for vlanhwfilter...

(legacy) cleanup system_advanced_network.php and add switch for vlanhwfilter disable ( https://github.com/opnsense/core/issues/252 )
parent 98a1d61d
......@@ -3004,12 +3004,13 @@ function interface_configure($interface = 'wan', $reloadall = false, $linkupeven
/* skip vlans for checksumming and polling */
if (!stristr($realif, "_vlan") && is_array($options)) {
legacy_interface_flags($realhwif, sprintf(
'%stxcsum %srxcsum %stso %slro %spolling',
'%stxcsum %srxcsum %stso %slro %spolling %svlanhwfilter',
isset($config['system']['disablechecksumoffloading']) ? '-' : '',
isset($config['system']['disablechecksumoffloading']) ? '-' : '',
isset($config['system']['disablesegmentationoffloading']) ? '-' : '',
isset($config['system']['disablelargereceiveoffloading']) ? '-' : '',
isset($config['system']['polling']) ? '' : '-'
isset($config['system']['polling']) ? '' : '-',
isset($config['system']['disablevlanhwfilter']) ? '-' : ''
));
}
......
This diff is collapsed.
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