From 35b00f8c3f179c5256349384d41607b18963afe2 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 3 Oct 2009 13:08:26 +0200 Subject: [PATCH] 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. --- extensions/libxt_pknock.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/extensions/libxt_pknock.c b/extensions/libxt_pknock.c index 0167f7c..e85b74f 100644 --- a/extensions/libxt_pknock.c +++ b/extensions/libxt_pknock.c @@ -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" -- 2.47.2