[client] Hide forwarding rules in status when count is zero (#5149)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Viktor Liu
2026-01-22 17:01:08 +08:00
committed by GitHub
parent ee54827f94
commit f86022eace
2 changed files with 7 additions and 4 deletions

View File

@@ -567,7 +567,6 @@ Quantum resistance: false
Lazy connection: false
SSH Server: Disabled
Networks: 10.10.0.0/24
Forwarding rules: 0
Peers count: 2/2 Connected
`, lastConnectionUpdate1, lastHandshake1, lastConnectionUpdate2, lastHandshake2, runtime.GOOS, runtime.GOARCH, overview.CliVersion)
@@ -592,7 +591,6 @@ Quantum resistance: false
Lazy connection: false
SSH Server: Disabled
Networks: 10.10.0.0/24
Forwarding rules: 0
Peers count: 2/2 Connected
`