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 <charon@lethean.io>
This commit is contained in:
parent
3a690ee485
commit
2b193cfc47
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue