From c0645be366a474b136060043790f2cbd05ae68a3 Mon Sep 17 00:00:00 2001 From: Trekkie Coder Date: Mon, 1 Jul 2024 16:21:49 +0900 Subject: [PATCH] gh-48 Fixed proxy CT display formatting --- pkg/loxinet/dpebpf_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/loxinet/dpebpf_linux.go b/pkg/loxinet/dpebpf_linux.go index 20d0e2476..78fcbb558 100644 --- a/pkg/loxinet/dpebpf_linux.go +++ b/pkg/loxinet/dpebpf_linux.go @@ -1500,7 +1500,7 @@ func (e *DpEbpfH) DpTableGet(w *TableDpWorkQ) (DpRetT, error) { for e, proxyCt := range proxyCtInfo { ePCT := ctMap[proxyCt.Key()] if ePCT != nil { - if e > 1 { + if e > 0 { ePCT.CAct += " " } ePCT.CAct += proxyCt.CAct