]> git.ipfire.org Git - thirdparty/nftables.git/commit
main: swap json and gmp fields in nft -V
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 31 Mar 2020 23:20:53 +0000 (01:20 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 31 Mar 2020 23:24:20 +0000 (01:24 +0200)
commit37b4474d62c9ad52ad71b984e0180fdc56add94a
treea2163e4babe2e5ff3da06c0c289fa43b67055542
parent9b753e35b2e31521d23b20eac51d41a9383ed575
main: swap json and gmp fields in nft -V

 # ./configure --with-xtable --with-json
 ...
 # make
 ...
 # make install
 ...
 # nft -V
 nftables v0.9.3 (Topsy)
   cli:          readline
   json:         no
   minigmp:      yes
   libxtables:   yes

json: and minigmp: are accidentally swapped.

I introduced this bug while mangling Jeremy's original patch.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/main.c