Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xljiulang committed Oct 13, 2022
1 parent 6bd9238 commit 26fc021
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WindivertDotnet/WindivertDotnet.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.0.0-rc3</Version>
<Version>1.0.0</Version>
<TargetFramework>netstandard2.1</TargetFramework>
<Nullable>enable</Nullable>
<LangVersion>9.0</LangVersion>
Expand Down
3 changes: 1 addition & 2 deletions WindivertDotnet/WindivertSendOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ public WindivertSendOperation(

protected override bool IOControl(int* pLength, NativeOverlapped* nativeOverlapped)
{
var addrLength = WinDivertAddress.Size;
return WinDivertNative.WinDivertSendEx(
this.divert,
this.packet,
this.packet.Length,
pLength,
0UL,
this.addr,
addrLength,
WinDivertAddress.Size,
nativeOverlapped);
}
}
Expand Down

0 comments on commit 26fc021

Please sign in to comment.