diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-08-21 09:15:20 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-08-21 09:37:41 +0200 |
commit | ca48066aaa8179025c0b4e17ed40a4bc12487190 (patch) | |
tree | 08e75cd8c5589aeb6569cc8075e852357dda7105 /extensions | |
parent | f677e7b10c72bd3007c89d51eea13a0c2c3d262b (diff) |
libxt_dccp: provide man pages options in short help too
This omission goes back to commit v1.3.4~11.
References: Dave Täht via netfilter-devel on 2011-08-20 14:40:11 -0700
References: <CAA93jw6mpDL6rLXM+9SpAhafkDdKoSfhAxU8UM87vUqjuzjYJw@mail.gmail.com>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/libxt_dccp.c | 5 | ||||
-rw-r--r-- | extensions/libxt_dccp.man | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/extensions/libxt_dccp.c b/extensions/libxt_dccp.c index 09ef16e0..4e52b38c 100644 --- a/extensions/libxt_dccp.c +++ b/extensions/libxt_dccp.c @@ -37,7 +37,10 @@ static void dccp_help(void) "[!] --source-port port[:port] match source port(s)\n" " --sport ...\n" "[!] --destination-port port[:port] match destination port(s)\n" -" --dport ...\n"); +" --dport ...\n" +"[!] --dccp-types type[,...] match when packet is one of the given types\n" +"[!] --dccp-option option match if option (by number!) is set\n" +); } #define s struct xt_dccp_info diff --git a/extensions/libxt_dccp.man b/extensions/libxt_dccp.man index 82c3f703..71beb4b1 100644 --- a/extensions/libxt_dccp.man +++ b/extensions/libxt_dccp.man @@ -9,4 +9,4 @@ list of packet types. Packet types are: .BR "REQUEST RESPONSE DATA ACK DATAACK CLOSEREQ CLOSE RESET SYNC SYNCACK INVALID" . .TP [\fB!\fP] \fB\-\-dccp\-option\fP \fInumber\fP -Match if DCP option set. +Match if DCCP option set. |