diff options
author | Phil Sutter <phil@nwl.cc> | 2019-02-12 22:51:34 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-02-14 16:56:10 +0100 |
commit | a88e4b4ac1a1b111299f333604d3421bd6e89575 (patch) | |
tree | 87b3716608102fc57adc59c7bbff67c652829f4c /extensions/ebt_ulog.c | |
parent | b43f3ff0a61804f95e6cb3f1dee02f1de1a3a699 (diff) |
Print IPv6 prefixes in CIDR notation
According to RFC4291, IPv6 prefixes are represented in CIDR notation.
While the use of a "netmask" notation is not explicitly denied, its
existence merely stems from applying IPv4 standards to IPv6. This is not
necessarily correct.
Therefore change printing of IPv6 prefixes to use CIDR notation as long
as the address mask's bits are left contiguous.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/ebt_ulog.c')
0 files changed, 0 insertions, 0 deletions