]> 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:11 +0000 (22:10 +0000)
committerNeil Conway <neilc@samurai.com>
Sat, 18 Mar 2006 22:10:11 +0000 (22:10 +0000)
commite78be57d19c06a2bbc007acc992ee8e244cbf69e
treed8d00797ef32beeaff1d7cfbcc328a3eeeec1959
parent8bf221b09b09d9e84bc63749e14e6701164a2e4b
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