A probable bug in nftables doc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

It seems that section 'ICMPV6 TYPE TYPE' and 'ICMPVX CODE TYPE' of
nftables doc have some problems:

The keyword of 'icmpv6 type type' probably should be 'icmpv6_type'
rather than 'icmpx_code';
meanwhile, the keyword of 'icmpvx code type' probably should be
'icmpx_code' rather than 'icmpv6_type'.

This issue can also be verified by typing the command 'nft describe
icmpv6_type' and 'nft describe icmpx_code' and comparing their actual
output with the output described by the doc.

I found the issue in 'nftables v0.9.8 (E.D.S.)'. But it is also the
case in the newest version v1.0.4.
v1.0.4 source code
(https://git.netfilter.org/nftables/tree/doc/data-types.txt?h=v1.0.4):

from line 267:

ICMPV6 TYPE TYPE
~~~~~~~~~~~~~~~~
[options="header"]
|==================
|Name | Keyword | Size | Base type
|ICMPv6 Type |
icmpx_code |
8 bit |
integer
|===================

from line 361:

ICMPVX CODE TYPE
~~~~~~~~~~~~~~~~
[options="header"]
|==================
|Name | Keyword | Size | Base type
|ICMPvX Code |
icmpv6_type |
8 bit |
integer
|===================



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux