On Wednesday 10 August 2011 22:36:47 Gert Doering wrote:
> On Wed, Aug 10, 2011 at 12:55:08PM +0000, Heiko Hund wrote:
> > The s6_addr32 member of struct in6_addr is not available when building
> > for WIN32. To work around this, a local union is defined that allows
> > accessing 32 bit chunks of the IPv6 address passed to add_in6_addr().
> 
> NAK, that's massively ugly.

o_O
 
> I've changed the code to do 8-bit rounds.  While somewhat slower, the
> code is actually more readable that way, and since this is only called
> once per connecting client, the few microseconds are well-spent.

ACK, as it fixes the issue

Heiko
-- 
Heiko Hund | Software Engineer | Phone +49-721-25516-237 | Fax -200
Astaro a Sophos Company | Amalienbadstr. 41 Bau 52 | 76227 Karlsruhe | Germany
Commercial Register: Mannheim HRA 702710 | Headquarter Location: Karlsruhe
 
Represented by the General Partner Astaro Verwaltungs GmbH
Amalienbadstraße 41 Bau 52 | 76227 Karlsruhe | Germany 
Commercial Register: Mannheim HRB 708248 | Executive Board: Gert Hansen,
Markus Hennig, Jan Hichert, Günter Junk, Dr. Frank Nellissen

Reply via email to