From 830299c372d8841ba1bb68f7a7eea8fedc6fb7f2 Mon Sep 17 00:00:00 2001 From: Devotalk Date: Wed, 24 Jul 2024 17:10:15 +0330 Subject: [PATCH] change ipAddresse to ipAddress --- fast cf ip scanner/Services/IPService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fast cf ip scanner/Services/IPService.cs b/fast cf ip scanner/Services/IPService.cs index c76ab7c..b5184df 100644 --- a/fast cf ip scanner/Services/IPService.cs +++ b/fast cf ip scanner/Services/IPService.cs @@ -48,7 +48,7 @@ public async Task> GetValidIPWithHttpTest(string[] ips, IpOptionMo { var validIp = new ConcurrentBag(); - async Task HttpTest(string ipAddresse) + async Task HttpTest(string ipAddress) { var stopwatch = new Stopwatch(); @@ -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) @@ -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