mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Be more correct and do the same checks for RXCSUM capabilities as is done for TXCSUM one.
This commit is contained in:
parent
a639bb917d
commit
3ca774ac10
@ -479,6 +479,11 @@ function interface_bridge_add_member($bridgeif, $interface) {
|
||||
else
|
||||
pfSense_interface_capabilities($interface, -IFCAP_TXCSUM);
|
||||
|
||||
if (isset($options['encaps']['rxcsum']))
|
||||
pfSense_interface_capabilities($interface, IFCAP_RXCSUM);
|
||||
else
|
||||
pfSense_interface_capabilities($interface, -IFCAP_RXCSUM);
|
||||
|
||||
interfaces_bring_up($interface);
|
||||
mwexec("/sbin/ifconfig {$bridgeif} addm {$interface}");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user