A Verdict enum was moved from a NamedExpression to an Expression, placing it in a NamedExpression was a bug. Accroding to libnftables-json(5) (section VERDICT) a Verdict does not have a "verdict" key, it is "anonymous". e.g.: { "jump": { "target": "my_target"}, and not: { "verdict": { "jump": { "target": "my_target"} } }
Additionally a Verdict::Jump and a Verdict::Goto data was changed to a stmt::JumpTarget struct from a String.
A Map and a Set use almost the same fields, a map additinally uses a map field of type String.
A Verdict enum was moved from a NamedExpression to an Expression, placing it in a NamedExpression was a bug. Accroding to libnftables-json(5) (section VERDICT) a Verdict does not have a "verdict" key, it is "anonymous". e.g.: { "jump": { "target": "my_target"}, and not: { "verdict": { "jump": { "target": "my_target"} } }
Additionally a
Verdict::Jump
and aVerdict::Goto
data was changed to astmt::JumpTarget
struct from aString
.A
Map
and aSet
use almost the same fields, a map additinally uses a map field of typeString
.