0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-10-18 09:58:43 +00:00

Birdtest: add IPv6 unit test for convert '::'

This commit is contained in:
Pavel Tvrdík 2015-04-29 16:47:32 +02:00
parent 71adc0f9e2
commit f84f925036

View File

@ -90,6 +90,10 @@ t_ip6_pton(void)
.in = "::1",
.out = {0x00000000, 0x00000000, 0x00000000, 0x00000001},
},
{
.in = "::",
.out = {0x00000000, 0x00000000, 0x00000000, 0x00000000},
},
{
.in = "2605:2700:0:3::4713:93e3",
.out = {0x26052700, 0x00000003, 0x00000000, 0x471393E3},