From 2b193cfc47814a58cee90a8797b07d7738fe2e46 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 2 Apr 2026 11:22:15 +0100 Subject: [PATCH] ax(ueps): fix Version field comment to use usage-example style AX Principle 2: comments show HOW with real values, not prose descriptions. `// 0x09 = IPv9` described the constant; `// header.Version = 0x09 // IPv9` shows the assignment as used, matching all other UEPSHeader field comments. Co-Authored-By: Charon --- pkg/ueps/packet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ueps/packet.go b/pkg/ueps/packet.go index e822853..c0538a8 100644 --- a/pkg/ueps/packet.go +++ b/pkg/ueps/packet.go @@ -31,7 +31,7 @@ const ( // header := ueps.UEPSHeader{Version: 0x09, CurrentLayer: 5, TargetLayer: 3, IntentID: 0x01, ThreatScore: 0} type UEPSHeader struct { - Version uint8 // 0x09 = IPv9 + Version uint8 // header.Version = 0x09 // IPv9 CurrentLayer uint8 // header.CurrentLayer = 5 // Application; 3 = Network, 4 = Transport TargetLayer uint8 // header.TargetLayer = 3 // Network; 5 = Application (loopback) IntentID uint8 // header.IntentID = 0x01 (ping), 0x02 (data), 0x03 (auth)