If you even add a tag to a struct member, be sure to add that
tag to the other important structs too.
This commit is contained in:
Miek Gieben 2012-12-13 13:44:27 +01:00
parent 375917b7a0
commit 99817d7c33
1 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ type tsigWireFmt struct {
Ttl uint32
// Rdata of the TSIG
Algorithm string `dns:"domain-name"`
TimeSigned uint64
TimeSigned uint64 `dns:"uint48"`
Fudge uint16
// MACSize, MAC and OrigId excluded
Error uint16
@ -142,7 +142,7 @@ type macWireFmt struct {
// 3.3. Time values used in TSIG calculations
type timerWireFmt struct {
TimeSigned uint64
TimeSigned uint64 `dns:"uint48"`
Fudge uint16
}