From c93d75b37d9428ddad1f1187749eaa3f1ca57d91 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 26 Apr 2026 02:14:11 +0800 Subject: [PATCH] =?UTF-8?q?Debug:=20=E6=B7=BB=E5=8A=A0screen-length=20disa?= =?UTF-8?q?ble=E5=91=BD=E4=BB=A4=E8=BE=93=E5=87=BA=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/device/h3c.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/device/h3c.go b/internal/device/h3c.go index 035d122..887cd9b 100644 --- a/internal/device/h3c.go +++ b/internal/device/h3c.go @@ -32,6 +32,7 @@ func (p *H3CParser) Parse(device *models.Device, outputs []string) error { } // outputs[0] 是 screen-length disable 的输出(通常为空) + fmt.Printf("[H3C DEBUG] screen-length disable output: %q (length: %d)\n", outputs[0], len(outputs[0])) p.parseVersion(device, outputs[1]) // outputs[1] 是 display version // outputs[2] 是 display interface