fix(ui): уточнить подписи ICMPv6 и портов IPv6
This commit is contained in:
1 parent
d569932b2a
commit
979dc3cfb0
13 files changed
+235
-14
No files matched your search
@@ -25,7 +25,7 @@ function formatBytes(n: number): string {
|
||||
function formatEndpoint(ip: string | undefined, port: number | undefined): string {
|
||||
const host = String(ip ?? "").trim()
|
||||
if (!host) return "—"
|
||||
return port ? `${host}:${port}` : host
|
||||
return port ? `${host.includes(":") ? `[${host}]` : host}:${port}` : host
|
||||
}
|
||||
|
||||
function packetTuple(row: FlowTalkerDto): string {
|
||||
|
||||
Reference in new issue
Block a user