From: Jan Engelhardt Date: Sun, 21 Aug 2011 07:15:20 +0000 (+0200) Subject: libxt_dccp: provide man pages options in short help too X-Git-Tag: v1.4.12.1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca48066aaa8179025c0b4e17ed40a4bc12487190;p=thirdparty%2Fiptables.git 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: Signed-off-by: Jan Engelhardt --- 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.