]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic_tp: use in_addr/in6_addr for preferred_address
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 30 Nov 2023 14:36:10 +0000 (15:36 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 30 Nov 2023 14:59:45 +0000 (15:59 +0100)
commit0ce213d246197be601c46cc9cbfb720eac85d928
treec0b18283bf727b9c5e771d13267624c6560a7c6b
parenta9ad68aa74bbb62b7ae1d8594b9da4489d65bd9e
MINOR: quic_tp: use in_addr/in6_addr for preferred_address

preferred_address is a transport parameter specify by the server. It
specified both an IPv4 and IPv6 address. These addresses were defined as
plain array in <struct tp_preferred_address>.

Convert these adressees to use the common types in_addr/in6_addr. With
this change, dumping of preferred_address is extended. It now displays
the addresses using inet_ntop() and CID value.
include/haproxy/quic_tp-t.h
include/haproxy/quic_tp.h
src/quic_tp.c