Merge a0423c9897
into 63dd116924
This commit is contained in:
commit
6dec91b9cd
2
set.go
2
set.go
|
@ -773,7 +773,7 @@ func setsFromMsg(msg netlink.Message) (*Set, error) {
|
||||||
nftMagic := ad.Uint32()
|
nftMagic := ad.Uint32()
|
||||||
// Special case for the data type verdict, in the message it is stored as 0xffffff00 but it is defined as 1
|
// Special case for the data type verdict, in the message it is stored as 0xffffff00 but it is defined as 1
|
||||||
if nftMagic == 0xffffff00 {
|
if nftMagic == 0xffffff00 {
|
||||||
set.KeyType = TypeVerdict
|
set.DataType = TypeVerdict
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
dt, err := parseSetDatatype(nftMagic)
|
dt, err := parseSetDatatype(nftMagic)
|
||||||
|
|
Loading…
Reference in New Issue