From ca48066aaa8179025c0b4e17ed40a4bc12487190 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 21 Aug 2011 09:15:20 +0200 Subject: libxt_dccp: provide man pages options in short help too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- extensions/libxt_dccp.c | 5 ++++- extensions/libxt_dccp.man | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'extensions') 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. -- cgit v1.2.3