Compare commits

..

2 Commits

Author SHA1 Message Date
Jan Schär 67e3cde77f
Merge 6162ace520 into e2fedeb355 2025-03-13 11:37:11 +01:00
Jan Schär 6162ace520 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-13 11:27:05 +01:00
1 changed files with 0 additions and 1 deletions

View File

@ -31,7 +31,6 @@ 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