From be34168a1bd30e97a3ed7123a978ea71dfcb0f34 Mon Sep 17 00:00:00 2001 From: Ivan Date: Sat, 27 Sep 2025 04:41:36 -0500 Subject: [PATCH] Refine comment in TCPClientInterface to clarify HDLC framing usage for TCP connections --- pkg/interfaces/tcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/interfaces/tcp.go b/pkg/interfaces/tcp.go index be16607..dd465f7 100644 --- a/pkg/interfaces/tcp.go +++ b/pkg/interfaces/tcp.go @@ -215,7 +215,7 @@ func (tc *TCPClientInterface) ProcessOutgoing(data []byte) error { tc.writing = true defer func() { tc.writing = false }() - // For TCP connections, use HDLC framing like the server expects + // For TCP connections, use HDLC framing var frame []byte frame = append([]byte{HDLC_FLAG}, escapeHDLC(data)...) frame = append(frame, HDLC_FLAG)