fix: Typo in unmarshal on Cmp struct (#14)

This commit is contained in:
Ryan Whelan 2019-04-30 11:07:43 -04:00 committed by Michael Stapelberg
parent a975e10ef9
commit 07c974e364
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ func (e *Cmp) unmarshal(data []byte) error {
e.Op = CmpOp(ad.Uint32())
case unix.NFTA_CMP_DATA:
ad.Do(func(b []byte) error {
ad, err := netlink.NewAttributeDecoder(data)
ad, err := netlink.NewAttributeDecoder(b)
if err != nil {
return err
}