[PATCH 02/43] util.c: Don't byte-swap IPv4 addresses, even if we don't have IPv6.

Ian Jackson ijackson at chiark.greenend.org.uk
Sun Apr 30 18:38:28 BST 2017


Mark Wooding writes ("Re: [PATCH 02/43] util.c: Don't byte-swap IPv4 addresses, even if we don't have IPv6."):
> Ian Jackson <ijackson at chiark.greenend.org.uk> writes:
> > So I think binding the udp sockets to specific addresses has been
> > broken on big-endian machines since then.  Ie, effectively, since
> > 0.4.x.
> 
> Err, little-endian.  But yes, you're right, it was broken by the IPv6
> change, but I didn't follow the old code carefully enough.  I'll fix
> that message once I'm finished reordering these commits.

Err, yes, little-endian.  Thanks.

Ian.



More information about the sgo-software-discuss mailing list