diff options
author | Phil Sutter <phil@nwl.cc> | 2019-01-14 17:42:50 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-01-14 22:34:16 +0100 |
commit | 278a3b779a731b3565595259b07b9065f6a6f425 (patch) | |
tree | b3dd9f726d3775a0196a254978cd088b346463c2 /examples/nft-set-add.c | |
parent | de5a23d26828a1e1f2d3351b0414925857546496 (diff) |
src: chain: Fix nftnl_chain_rule_insert_at()
Extrapolating from iptables nomenclature, one would expect that "insert"
means to prepend the new item to the referenced one, not append. Change
nftnl_chain_rule_insert_at() to do just that and introduce
nftnl_chain_rule_append_at() to insert a rule after the referenced one.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'examples/nft-set-add.c')
0 files changed, 0 insertions, 0 deletions