Make every struct have a header header and not inherit the header

This commit is contained in:
PhatPhuckDave
2024-07-22 22:51:41 +02:00
parent 98fb872fc1
commit abfba3b5a7
12 changed files with 23 additions and 23 deletions

View File

@@ -22,7 +22,7 @@ type (
}
GENERIC_NACK struct {
PDU_HEADER
header PDU_HEADER
}
)
@@ -63,4 +63,4 @@ func (p *PDU_HEADER) Decode(data []uint8) error {
}
func (p *PDU_HEADER) Size() uint32 {
return 16
}
}