From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH nft 2/2] main: fix typo in cli definition
Date: Wed, 6 Jan 2021 14:30:35 +0100 [thread overview]
Message-ID: <20210106133035.14816-3-pablo@netfilter.org> (raw)
In-Reply-To: <20210106133035.14816-1-pablo@netfilter.org>
9420423900a2 ("cli: add libedit support") updated HAVE_LIBREADLINE to
HAVE_READLINE by mistake.
Fixes: 9420423900a2 ("cli: add libedit support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
src/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
index 0a1c47758d1a..80cf1acf0f7f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -227,7 +227,7 @@ static void show_version(void)
{
const char *cli, *minigmp, *json, *xt;
-#if defined(HAVE_READLINE)
+#if defined(HAVE_LIBREADLINE)
cli = "readline";
#elif defined(HAVE_LIBEDIT)
cli = "editline";
--
2.20.1
next prev parent reply other threads:[~2021-01-06 13:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-06 13:30 [PATCH nft 0/2] libedit support followup Pablo Neira Ayuso
2021-01-06 13:30 ` [PATCH nft 1/2] cli: use plain readline() interface with libedit Pablo Neira Ayuso
2021-01-06 13:30 ` Pablo Neira Ayuso [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-01-06 12:24 [PATCH nft 0/2] follow up work on the libedit support Pablo Neira Ayuso
2021-01-06 12:24 ` [PATCH nft 2/2] main: fix typo in cli definition Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210106133035.14816-3-pablo@netfilter.org \
--to=pablo@netfilter.org \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).