From f84f9250368944cb82ba6076110c90edaba2379a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Tvrd=C3=ADk?= Date: Wed, 29 Apr 2015 16:47:32 +0200 Subject: [PATCH] Birdtest: add IPv6 unit test for convert '::' --- lib/ip_test.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ip_test.c b/lib/ip_test.c index c91640f3..149fc048 100644 --- a/lib/ip_test.c +++ b/lib/ip_test.c @@ -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},