From: Pavel TvrdĂ­k Date: Wed, 29 Apr 2015 14:47:32 +0000 (+0200) Subject: Birdtest: add IPv6 unit test for convert '::' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f84f9250368944cb82ba6076110c90edaba2379a;p=thirdparty%2Fbird.git Birdtest: add IPv6 unit test for convert '::' --- diff --git a/lib/ip_test.c b/lib/ip_test.c index c91640f35..149fc048f 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},