]> git.ipfire.org Git - thirdparty/curl.git/commit
peer: fix ipv6 detection master
authorStefan Eissing <stefan@eissing.org>
Mon, 22 Jun 2026 12:45:25 +0000 (14:45 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 22 Jun 2026 15:16:07 +0000 (17:16 +0200)
commitbe1d976a2ab998aaaa824e4396e43c647a17cdb2
treeefc9bcfd5652557d80cf3cf06ab11f0a984d648a
parentd824266425d000d4b7c8ca8756dbff83bfa4eb02
peer: fix ipv6 detection

When trying to detect ipv6 addresses, ipv4 addresses were also
flagged as ipv6.

Add test2413 to check.

Closes #22134
lib/peer.c
tests/data/Makefile.am
tests/data/test2413 [new file with mode: 0644]
tests/unit/Makefile.inc
tests/unit/unit2413.c [new file with mode: 0644]