From 7070678ab40c77620c6158d9cfceafc4837123a1 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 12 Oct 2009 00:48:37 +0200 Subject: [PATCH] pknock: remove redundant --chkip parameter Similar to commit v1.18-56-g35b00f8, one option for one thing really is enough. --- extensions/pknock/libxt_pknock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extensions/pknock/libxt_pknock.c b/extensions/pknock/libxt_pknock.c index e1c4cb5..b1ea6c7 100644 --- a/extensions/pknock/libxt_pknock.c +++ b/extensions/pknock/libxt_pknock.c @@ -26,7 +26,6 @@ static const struct option pknock_mt_opts[] = { { "closesecret",1, 0, 'z' }, { "strict", 0, 0, 'x' }, { "checkip", 0, 0, 'c' }, - { "chkip", 0, 0, 'c' }, { .name = NULL } }; @@ -45,7 +44,7 @@ static void pknock_mt_help(void) "Rule name.\n" " --checkip " "Matches if the source ip is in the list.\n" - " --chkip\n"); + ); } static unsigned int