Commit f84f9250 authored by Pavel Tvrdík's avatar Pavel Tvrdík
Browse files

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

parent 71adc0f9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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},