]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: Always print range expressions numerically
authorElise Lennion <elise.lennion@gmail.com>
Thu, 2 Feb 2017 12:31:56 +0000 (10:31 -0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 5 Feb 2017 20:39:48 +0000 (21:39 +0100)
commit85b1e3c0052ef69b3ab449b692b787037c0b8bdb
tree9dae94fd220d2c2590a4f051fee492b3c803adb0
parent9b7b2b64caff9de47de36a050cae9f3fbf58e433
src: Always print range expressions numerically

Because the rules are more legible this way. Also, the parser doesn't
accept strings on ranges, so, printing ranges numerically better match
the rules definition.

Fixes(Bug 1046 - mobility header with range gives illegible rule).

Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/datatype.c
src/expression.c