google / google/nftables

[GetSets] Fetching Sets from table with maps fails

Open
#171 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
1.4k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

# Problem1

As soon as I want to fetch Sets of a table which has a map included the nflib reports an error:

`Error Fetching Sets - could not determine data type 1cd`

When I delete the Map Fetching Sets works perfect.

# Problem 2

Fetching tables reports very high numbers for `Use uint32 // NFTA_TABLE_USE (Number of chains in table)` for example:

Table has only 2 chains but GetTable reports very high number:

2022/06/07 09:41:28 &{filter 100663296 0 1}

Is there maybe a short workaround to make it work?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.