Compare commits

..

2 Commits

Author SHA1 Message Date
Jan Schär 30cb1f17cb
Merge 8d885e89a1 into e2fedeb355 2025-03-14 16:37:42 +00:00
Jan Schär 8d885e89a1 Add ID to rule
The ID allows referring to a rule before it is committed, as
demonstrated in the newly added test.

I had to update all existing tests which compared generated netlink
messages against a reference, by inserting the newly added ID attribute.
2025-03-14 17:35:18 +01:00
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ const (
)
// This constant is missing at unix.NFTA_RULE_POSITION_ID.
// TODO: Add the constant in unix and then remove it here.
const nfta_rule_position_id = 0xa
type ruleOperation uint32