mirror of
https://github.com/netchx/netch.git
synced 2026-05-11 23:45:06 +08:00
Reformat
This commit is contained in:
@@ -79,7 +79,9 @@ namespace Netch.Models
|
||||
{
|
||||
try
|
||||
{
|
||||
return Global.Settings.ServerTCPing ? await Utils.Utils.TCPingAsync(destination, Port) : Utils.Utils.ICMPing(destination, Port);
|
||||
return Global.Settings.ServerTCPing
|
||||
? await Utils.Utils.TCPingAsync(destination, Port)
|
||||
: Utils.Utils.ICMPing(destination, Port);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user