pknock: remove redundant --chkip parameter

Similar to commit v1.18-56-g35b00f8, one option for one thing
really is enough.
This commit is contained in:
Jan Engelhardt
2009-10-12 00:48:37 +02:00
parent f6281d498c
commit 7070678ab4

View File

@@ -26,7 +26,6 @@ static const struct option pknock_mt_opts[] = {
{ "closesecret",1, 0, 'z' }, { "closesecret",1, 0, 'z' },
{ "strict", 0, 0, 'x' }, { "strict", 0, 0, 'x' },
{ "checkip", 0, 0, 'c' }, { "checkip", 0, 0, 'c' },
{ "chkip", 0, 0, 'c' },
{ .name = NULL } { .name = NULL }
}; };
@@ -45,7 +44,7 @@ static void pknock_mt_help(void)
"Rule name.\n" "Rule name.\n"
" --checkip " " --checkip "
"Matches if the source ip is in the list.\n" "Matches if the source ip is in the list.\n"
" --chkip\n"); );
} }
static unsigned int static unsigned int