Compare commits

...

2 Commits

Author SHA1 Message Date
Artem Smorodin 7a6c26c696
Merge e01db4c5b9 into 5494b7c55f 2024-03-10 16:42:34 -06:00
Artem Smorodin e01db4c5b9 [expr] Conntrack SourceRegister field unmarshalling 2023-05-17 22:35:24 +03:00
1 changed files with 3 additions and 0 deletions

View File

@ -109,6 +109,9 @@ func (e *Ct) unmarshal(fam byte, data []byte) error {
e.Key = CtKey(ad.Uint32())
case unix.NFTA_CT_DREG:
e.Register = ad.Uint32()
case unix.NFTA_CT_SREG:
e.Register = ad.Uint32()
e.SourceRegister = true
}
}
return ad.Err()