]> git.ipfire.org Git - thirdparty/postgresql.git/commit
The call to DNSServiceRegistrationCreate in postmaster.c does incorrect
authorNeil Conway <neilc@samurai.com>
Sat, 18 Mar 2006 22:10:14 +0000 (22:10 +0000)
committerNeil Conway <neilc@samurai.com>
Sat, 18 Mar 2006 22:10:14 +0000 (22:10 +0000)
commita6e40d9f42766ec689daf5d50246dec5bb8ca3da
tree131035af8e8d50f56241af87289a835fcd8de7cd
parentea8eeb4ca7cd1a699d4104f85867a804799b483b
The call to DNSServiceRegistrationCreate in postmaster.c does incorrect
byte-swapping on the port number which causes the call to fail on Intel
Macs.

This patch uses htons() instead of htonl() and fixes this bug.

Ashley Clark
src/backend/postmaster/postmaster.c