Skip to content

Commit

Permalink
change ipAddresse to ipAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
DevoTalk committed Jul 24, 2024
1 parent 0b0ad52 commit 830299c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fast cf ip scanner/Services/IPService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public async Task<List<IPModel>> GetValidIPWithHttpTest(string[] ips, IpOptionMo
{
var validIp = new ConcurrentBag<IPModel>();

async Task HttpTest(string ipAddresse)
async Task HttpTest(string ipAddress)
{
var stopwatch = new Stopwatch();

Expand All @@ -68,7 +68,7 @@ async Task HttpTest(string ipAddresse)
try
{
stopwatch.Start();
var result = await Client.GetAsync($"http://{ipAddresse}/__down:{port}");
var result = await Client.GetAsync($"http://{ipAddress}/__down:{port}");
stopwatch.Stop();

if (result != null)
Expand All @@ -95,7 +95,7 @@ async Task HttpTest(string ipAddresse)

validIp.Add(new IPModel
{
IP = ipAddresse.ToString(),
IP = ipAddress.ToString(),
Ping = ping,
Ports = string.Join(",", ports),
CountOfTimeout = timeoutCount
Expand Down

0 comments on commit 830299c

Please sign in to comment.