summaryrefslogtreecommitdiffstats
path: root/src/json.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-09-10 16:18:10 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-09-10 16:25:03 +0200
commit35ea9534d425d762692fa7dbbe9ecbb34a27e216 (patch)
tree2c75ee5e95a3aa2c94cff0cffe804328005974e6 /src/json.c
parent0f44d4f62753535d39d95d83778348bee4e88053 (diff)
src: Fix literal check for inet_service type
Since literal option is supposed to be a level, matching for equality is not correct here since the level may be higher than NFT_LITERAL_PORT. This fixes for ports being printed numerically if '-l' option was given twice. Fixes: b0f6a45b25dd1 ("src: add --literal option") Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/json.c')
0 files changed, 0 insertions, 0 deletions