The call to DNSServiceRegistrationCreate in postmaster.c does incorrect

Neil Conway <neilc@samurai.com>

Commit: a6e40d9f42766ec689daf5d50246dec5bb8ca3da
Author: Neil Conway <neilc@samurai.com>
Date: 2006-03-18T22:10:14Z
Releases: 8.0.8
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

Files

PathChange+/−
src/backend/postmaster/postmaster.c modified +2 −2