Обсуждение: Bonjour registration on Intel Macs is broken

Поиск
Список
Период
Сортировка

Bonjour registration on Intel Macs is broken

От
Ashley Clark
Дата:
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


Re: [PATCHES] Bonjour registration on Intel Macs is broken

От
Neil Conway
Дата:
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