Commit 3a78e469 authored by Franco Fichtner's avatar Franco Fichtner

interfaces: port flags-only fiddling

(cherry picked from commit c46d5ad0)
parent c1aaa80d
...@@ -705,17 +705,7 @@ function interface_bridge_add_member($bridgeif, $interface) ...@@ -705,17 +705,7 @@ function interface_bridge_add_member($bridgeif, $interface)
legacy_interface_mtu($interface, $mtu); legacy_interface_mtu($interface, $mtu);
} }
$options = pfSense_get_interface_addresses($bridgeif); configure_interface_hardware($interface);
$flags = sprintf(
'%stxcsum %srxcsum %stso4 %stso6 %slro',
isset($options['encaps']['txcsum']) ? '' : '-',
isset($options['encaps']['rxcsum']) ? '' : '-',
isset($options['encaps']['tso4']) ? '' : '-',
isset($options['encaps']['tso6']) ? '' : '-',
isset($options['encaps']['lro']) ? '' : '-'
);
legacy_interface_flags($interface, $flags);
interfaces_bring_up($interface); interfaces_bring_up($interface);
legacy_bridge_member($bridgeif, $interface); legacy_bridge_member($bridgeif, $interface);
} }
......
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