From 3d12c3bbffb43182df9ac5c0ad549b095d30d021 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 13 Jan 2009 15:30:10 +0100 Subject: doc: augment ICMP manpage by type/code syntax The ICMP match module also allows numeric type/code as in "--icmp-type type/code". Document it. Based upon a patch by Victor Stinner . Signed-off-by: Jan Engelhardt --- extensions/libipt_icmp.man | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/libipt_icmp.man') diff --git a/extensions/libipt_icmp.man b/extensions/libipt_icmp.man index 8c1bdbe4..1039704f 100644 --- a/extensions/libipt_icmp.man +++ b/extensions/libipt_icmp.man @@ -1,9 +1,9 @@ This extension can be used if `\-\-protocol icmp' is specified. It provides the following option: .TP -[\fB!\fP] \fB\-\-icmp\-type\fP \fItypename\fP +[\fB!\fP] \fB\-\-icmp\-type\fP {\fItype\fP[\fB/\fP\fIcode\fP]|\fItypename\fP} This allows specification of the ICMP type, which can be a numeric -ICMP type, or one of the ICMP type names shown by the command +ICMP type, type/code pair, or one of the ICMP type names shown by the command .nf iptables \-p icmp \-h .fi -- cgit v1.2.3