BUG/MINOR: quic: Address inversion in "show quic full"

The local address was dumped as "from" address by dump_quic_full() and
the peer address as "to" address. This patch fixes this issue.

Furthermore, to support the server side (QUIC client) to come, it is preferable
to stop using "from" and "to" labels to dump the local and peer addresses which
is confusing for a QUIC client which uses its local address as "from" address.

To mimic netstat, this is "Local Address" and "Foreign Address" which will
be displayed by "show quic" CLI command and "local_addr" and "foreign_addr"
for "show quic full" command to mention the local addresses and the peer
addresses.

Must be backported as far as 2.7.

(cherry picked from commit 4d56b725fb0990ddaea7b95b71e84513525bc988)
Signed-off-by: William Lallemand <wlallemand@haproxy.org>
1 file changed