]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
extension: libip6t_ipv6header: fix wrong headername in ipv6header for protocols
authorAndreas Herz <andi@geekosphere.org>
Thu, 16 Jul 2015 13:54:19 +0000 (15:54 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 20 Jul 2015 15:32:51 +0000 (17:32 +0200)
In the --help output and manpage for ipv6header the name for upper layer
protocol headers was "proto", while in the code itself it's "prot" for
the short form. Fixed by changing manpage and help output.

Signed-off-by: Andreas Herz <andi@geekosphere.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
extensions/libip6t_ipv6header.c
extensions/libip6t_ipv6header.man

index 00d5d5b46b37f9a020c14a4262892cd79147bc45..6f03087bb79d8d43c0d23f64d9cd4d75cd24bee1 100644 (file)
@@ -127,7 +127,7 @@ static void ipv6header_help(void)
        printf(
 "ipv6header match options:\n"
 "[!] --header headers     Type of header to match, by name\n"
-"                         names: hop,dst,route,frag,auth,esp,none,proto\n"
+"                         names: hop,dst,route,frag,auth,esp,none,prot\n"
 "                    long names: hop-by-hop,ipv6-opts,ipv6-route,\n"
 "                                ipv6-frag,ah,esp,ipv6-nonxt,protocol\n"
 "                       numbers: 0,60,43,44,51,50,59\n"
index a99886145a40c3d03a713839427b31b4141f58d3..807d9abc4dd379d33b4cf87ef861a569f18c7bac 100644 (file)
@@ -31,7 +31,7 @@ Encapsulating Security Payload header
 No Next header which matches 59 in the 'Next Header field' of IPv6 header or
 any IPv6 extension headers
 .TP
-\fBproto\fP
+\fBprot\fP
 which matches any upper layer protocol header. A protocol name from
 /etc/protocols and numeric value also allowed. The number 255 is equivalent to
-\fBproto\fP.
+\fBprot\fP.