Re: nftables and IPv6 prefix delegation (regression vs ip6tables)

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

 



On 2022-11-09, at 08:19:14 -0600, Ian Pilcher wrote:
> On 11/8/22 13:03, Gordon Fisher wrote:
> > Out of curiosity, why does ``0:0:0:c8::1`` get translated into
> > ``::c8:0:0:0:1`` ?
> 
> At a guess, inet_ntop() is simply choosing the longest string of zeroes
> in the address to replace with '::'.

That is indeed what glibc 2.36 does, at any rate.

J.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux