mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 10:11:53 +00:00
Birdtest: add IPv6 unit test for convert '::'
This commit is contained in:
parent
71adc0f9e2
commit
f84f925036
@ -90,6 +90,10 @@ t_ip6_pton(void)
|
|||||||
.in = "::1",
|
.in = "::1",
|
||||||
.out = {0x00000000, 0x00000000, 0x00000000, 0x00000001},
|
.out = {0x00000000, 0x00000000, 0x00000000, 0x00000001},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.in = "::",
|
||||||
|
.out = {0x00000000, 0x00000000, 0x00000000, 0x00000000},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.in = "2605:2700:0:3::4713:93e3",
|
.in = "2605:2700:0:3::4713:93e3",
|
||||||
.out = {0x26052700, 0x00000003, 0x00000000, 0x471393E3},
|
.out = {0x26052700, 0x00000003, 0x00000000, 0x471393E3},
|
||||||
|
Loading…
Reference in New Issue
Block a user