fix(KCP): Added port to ToString (#3683)

This commit is contained in:
MrGadget 2023-12-03 14:07:16 -05:00 committed by GitHub
parent 16dbeb1707
commit c1699f8157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -366,7 +366,7 @@ protected virtual void OnLogStatistics()
}
}
public override string ToString() => "KCP";
public override string ToString() => $"KCP {port}";
}
}
//#endif MIRROR <- commented out because MIRROR isn't defined on first import yet

View File

@ -323,7 +323,7 @@ protected virtual void OnLogStatistics()
*/
}
public override string ToString() => "ThreadedKCP";
public override string ToString() => $"ThreadedKCP {port}";
}
}
//#endif MIRROR <- commented out because MIRROR isn't defined on first import yet