Skip to content

Commit

Permalink
Fix bug preventing IPs being used in network rules
Browse files Browse the repository at this point in the history
  • Loading branch information
AngleOSaxon committed Dec 7, 2023
1 parent 2c1d05a commit c9658be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public async Task CheckApplicationRule()
{
var errors = new List<string>();

if (IPAddress.TryParse(ApplicationSourceIp, out var ipAddress))
if (IPAddress.TryParse(ipAddressValue, out var ipAddress))
{
var bytes = new uint?[] { ipAddress.ConvertToUint() };
return OneOf<List<string>, IEnumerable<uint?>?>.FromT1(bytes);
Expand Down

0 comments on commit c9658be

Please # to comment.