]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libxt_comment: avoid use of IPv4-specific examples
authorJan Engelhardt <jengelh@medozas.de>
Wed, 10 Mar 2010 23:24:14 +0000 (00:24 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Wed, 10 Mar 2010 23:24:14 +0000 (00:24 +0100)
Since libxt_comment.man is included in both iptables.8 and
ip6tables.8, we should probably try to create examples that do not
rely on either address family.

References: http://bugs.debian.org/572628
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libxt_comment.man

index 94f871e85527569bd0e50319aacb4401ac439f5f..faaee2a58db7de75031b554327944ceecb71f395 100644 (file)
@@ -3,4 +3,4 @@ Allows you to add comments (up to 256 characters) to any rule.
 \fB\-\-comment\fP \fIcomment\fP
 .TP
 Example:
-iptables \-A INPUT \-s 192.168.0.0/16 \-m comment \-\-comment "A privatized IP block"
+iptables \-A INPUT \-i eth1 \-m comment \-\-comment "my local LAN"