mirror of
https://git.netfilter.org/nftables
synced 2026-01-26 10:34:27 +00:00
The existing documentation briefly mentioned that the handle field can be used for positioning, but the behavior was ambiguous. This commit clarifies: - ADD with handle: inserts rule AFTER the specified handle - INSERT with handle: inserts rule BEFORE the specified handle - Multiple rules added at the same handle are positioned relative to the original rule, not to previously inserted rules - Explicit commands (with command wrapper) use handle for positioning - Implicit commands (without command wrapper, used in export/import) ignore handle for portability This clarification helps users understand the correct behavior and avoid confusion when using the JSON API for rule management. Signed-off-by: Alexandre Knecht <knecht.alexandre@gmail.com> Signed-off-by: Phil Sutter <phil@nwl.cc>
Description
No description provided
Languages
C
61.3%
Shell
21.7%
Yacc
6%
Raku
3.5%
Python
2.9%
Other
4.6%