Revision d2eb5def
Added by Scott Ullrich over 18 years ago
- Do not run save logic twice (slows the page down)
- Add disable hardware checksum option which prevents the system from turning on hardware checksum offloading. This seems to be a growing problem on a lot of nics such as SK
etc/inc/pfsense-utils.inc | ||
---|---|---|
198 | 198 |
if (in_array($int_family, $supported_ints)) |
199 | 199 |
mwexec("/sbin/ifconfig {$interface} link0"); |
200 | 200 |
|
201 |
if($config['system']['disablechecksumoffloading']) |
|
202 |
return; |
|
203 |
|
|
201 | 204 |
if(stristr($options, "txcsum") == true) |
202 | 205 |
mwexec("/sbin/ifconfig {$interface} txcsum 2>/dev/null"); |
203 | 206 |
if(stristr($options, "rxcsum") == true) |
Also available in: Unified diff