]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libxt_dccp: provide man pages options in short help too
authorJan Engelhardt <jengelh@medozas.de>
Sun, 21 Aug 2011 07:15:20 +0000 (09:15 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Sun, 21 Aug 2011 07:37:41 +0000 (09:37 +0200)
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>
extensions/libxt_dccp.c
extensions/libxt_dccp.man

index 09ef16e023c000df6877e5114011421ddfa2db86..4e52b38ca91bd0ed9be3fac1a1936de85ea0a8bc 100644 (file)
@@ -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
index 82c3f703018a3ed6b4d1e3c3b212c788e706addd..71beb4b16719e838f5cc3dd4f758f3a38e1eaaf5 100644 (file)
@@ -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.