Re: [PATCHES] Bonjour registration on Intel Macs is broken
Re: [PATCHES] Bonjour registration on Intel Macs is broken
От:
Neil Conway <neilc@samurai.com>
Дата:
On Sat, 2006-03-18 at 15:35 -0600, Ashley Clark wrote: > The call to DNSServiceRegistrationCreate in postmaster.c does > incorrect byte-swapping on the port number which causes the Bonjour > registration call to fail on Intel Macs. Thanks for the patch -- applied to HEAD and back branches, back to 7.4. -Neil
Bonjour registration on Intel Macs is broken
От:
Ashley Clark <aclark@ghoti.org>
Дата:
The call to DNSServiceRegistrationCreate in postmaster.c does incorrect byte-swapping on the port number which causes the Bonjour registration call to fail on Intel Macs.
This patch uses htons() instead of htonl() and fixes this bug.
Ashley Clark