mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-08 21:54:57 +02:00
pknock: remove redundant --t parameter
One can already specify --t on the command line as a synonym for --time because getopt already allows unambiguous abbrevations.
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
static const struct option pknock_opts[] = {
|
||||
/* .name, .has_arg, .flag, .val */
|
||||
{ "knockports", 1, 0, 'k' },
|
||||
{ "t", 1, 0, 't' },
|
||||
{ "time", 1, 0, 't' },
|
||||
{ "name", 1, 0, 'n' },
|
||||
{ "opensecret", 1, 0, 'a' },
|
||||
@@ -41,7 +40,6 @@ static void pknock_help(void)
|
||||
" --knockports port[,port,port,...] "
|
||||
"Matches destination port(s).\n"
|
||||
" --time seconds\n"
|
||||
" --t ... "
|
||||
"Time between port match.\n"
|
||||
" --secure "
|
||||
"hmac must be in the packets.\n"
|
||||
|
Reference in New Issue
Block a user