From: Pablo Neira Ayuso Date: Tue, 31 Mar 2020 23:20:53 +0000 (+0200) Subject: main: swap json and gmp fields in nft -V X-Git-Tag: v0.9.4~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37b4474d62c9ad52ad71b984e0180fdc56add94a;p=thirdparty%2Fnftables.git 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 --- diff --git a/src/main.c b/src/main.c index 1ee4d957..3dc6b62c 100644 --- a/src/main.c +++ b/src/main.c @@ -225,7 +225,7 @@ static void show_version(void) " minigmp: %s\n" " libxtables: %s\n", PACKAGE_NAME, PACKAGE_VERSION, RELEASE_NAME, - cli, minigmp, json, xt); + cli, json, minigmp, xt); } static const struct {