BUILD: contrib: fix ip6range build on Centos 7
authorWilly Tarreau <w@1wt.eu>
Tue, 22 Nov 2016 10:50:51 +0000 (11:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 22 Nov 2016 10:50:51 +0000 (11:50 +0100)
commit0034cd9e0a60fb8b3a2c6aa4d7812ff243d2743c
tree2a1adf86629fd1c099225003d349ed445e3f4d93
parent1084a3631f15c5c7916f745b309bc687b346d4ba
BUILD: contrib: fix ip6range build on Centos 7

Jarno Huuskonen reported that ip6range doesn't build anymore on
Centos 7 (and possibly other distros) due to "in6_u" not being known.
Using s6_addr32 instead of in6_u.u6_addr32 apparently works fine, and
it's also what the Lua code uses so it should be OK.

This patch may be backported to 1.6.
contrib/ip6range/ip6range.c