Skip to content

Commit

Permalink
Don't use auto
Browse files Browse the repository at this point in the history
  • Loading branch information
coolstar committed Jan 18, 2024
1 parent e389c8c commit 118ef84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,12 +255,12 @@ RtAdapterSetOffloadCapabilities(
if (gsoSupported) {
NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES gsoOffloadCapabilities;

auto const layer3GsoFlags = NetAdapterOffloadLayer3FlagIPv4NoOptions |
const NET_ADAPTER_OFFLOAD_LAYER3_FLAGS layer3GsoFlags = NetAdapterOffloadLayer3FlagIPv4NoOptions |
NetAdapterOffloadLayer3FlagIPv4WithOptions |
NetAdapterOffloadLayer3FlagIPv6NoExtensions |
NetAdapterOffloadLayer3FlagIPv6WithExtensions;

auto const layer4GsoFlags = NetAdapterOffloadLayer4FlagTcpNoOptions |
const NET_ADAPTER_OFFLOAD_LAYER4_FLAGS layer4GsoFlags = NetAdapterOffloadLayer4FlagTcpNoOptions |
NetAdapterOffloadLayer4FlagTcpWithOptions;

NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES_INIT(
Expand Down

0 comments on commit 118ef84

Please sign in to comment.