diff options
author | Eric Garver <eric@garver.life> | 2019-05-01 12:25:37 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-05-03 18:14:19 +0200 |
commit | 2d908943fa5515f27ef5dde249d0b08b92aa7ff0 (patch) | |
tree | e3ef7434cdc43d50689f9ce81180c2fa3ca7198e /include | |
parent | 55715486efba424e97361c81d8d47e854f45a5a6 (diff) |
parser_json: fix off by one index on rule add/replace
We need to increment the index by one just as the CLI does.
Fixes: 586ad210368b7 ("libnftables: Implement JSON parser")
Signed-off-by: Eric Garver <eric@garver.life>
Acked-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions