[expr] Conntrack SourceRegister field unmarshalling
This commit is contained in:
parent
b18665a6ec
commit
e01db4c5b9
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue