mksysinfo.sh: Define Solaris zone_net_addr_t struct.

From Rainer Orth.

From-SVN: r221920
This commit is contained in:
Ian Lance Taylor 2015-04-08 14:17:13 +00:00
parent 930ee1165d
commit 5d22575b1b
1 changed files with 5 additions and 0 deletions

View File

@ -1273,4 +1273,9 @@ if ! grep 'const SizeofICMPv6Filter ' ${OUT} >/dev/null 2>&1; then
echo 'const SizeofICMPv6Filter = 32' >> ${OUT}
fi
# The Solaris 11 Update 1 _zone_net_addr_t struct.
grep '^type _zone_net_addr_t ' gen-sysinfo.go | \
sed -e 's/_in6_addr/[16]byte/' \
>> ${OUT}
exit $?