mirror of
https://github.com/curl/curl.git
synced 2026-08-26 03:53:32 +03:00
peer: fix ipv6 detection
When trying to detect ipv6 addresses, ipv4 addresses were also flagged as ipv6. Add test2413 to check. Closes #22134
This commit is contained in:
parent
d824266425
commit
be1d976a2a
5 changed files with 141 additions and 2 deletions
19
tests/data/test2413
Normal file
19
tests/data/test2413
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="US-ASCII"?>
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
unittest
|
||||
Curl_peer
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<features>
|
||||
unittest
|
||||
</features>
|
||||
<name>
|
||||
Curl_peer unit tests
|
||||
</name>
|
||||
</client>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue