Skip to content

Commit

Permalink
Updated IPNetwork2
Browse files Browse the repository at this point in the history
Fixed breaking changes
  • Loading branch information
nefarius committed Feb 19, 2024
1 parent 081771c commit 0caf8f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Nefarius.Utilities.AspNetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="IPNetwork2" Version="2.6.618">
<PackageReference Include="IPNetwork2" Version="3.0.656">
<Aliases>IPNetwork2</Aliases>
</PackageReference>
<PackageReference Include="MonoMod.RuntimeDetour" Version="25.1.0" />
Expand Down
2 changes: 1 addition & 1 deletion src/Util/NetworkUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Net.NetworkInformation;
using System.Net.Sockets;

using IPNetwork2::System.Net;
using IPNetwork = IPNetwork2::System.Net.IPNetwork2;

namespace Nefarius.Utilities.AspNetCore.Util;

Expand Down
4 changes: 2 additions & 2 deletions src/WebApplicationBuilderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
using Serilog.Sinks.File.Archive;
using Serilog.Sinks.SystemConsole.Themes;

using IPNetwork = IPNetwork2::System.Net.IPNetwork;
using IPNetwork = IPNetwork2::System.Net.IPNetwork2;


namespace Nefarius.Utilities.AspNetCore;
Expand All @@ -45,7 +45,7 @@ public static WebApplicationBuilder Setup(this WebApplicationBuilder builder,

options.Configuration = builder.Configuration;
options.Environment = builder.Environment;

configure?.Invoke(options);

// apply patch that alters rolling file logic
Expand Down

0 comments on commit 0caf8f3

Please sign in to comment.