Re: ss_family in hba.c - Mailing list pgsql-hackers

From Bruno Wolff III
Subject Re: ss_family in hba.c
Date
Msg-id 20030618034737.GA8035@wolff.to
Whole thread Raw
In response to Re: ss_family in hba.c  (Kurt Roeckx <Q@ping.be>)
List pgsql-hackers
On Tue, Jun 17, 2003 at 22:49:00 +0200, Kurt Roeckx <Q@ping.be> wrote:
> On Tue, Jun 17, 2003 at 03:32:32PM -0500, Bruno Wolff III wrote:
> > I was looking at this some more and now think there is something wrong
> > with the references to ss_family rather than a missing inlcude file.
> > Perhaps those were supposed to be references to sa_family or there
> > is a missing field from the socket_storage type definition.
> 
> The struct sockaddr_storage should only have 1 field you can use
> and that is ss_family.  The other fields are there just to get
> the right size and padding.
> 
> Does your system have it's own (broken?) struct sockaddr_storage
> maybe?

I am going to look around a bit and see if I can figure this out.
Things worked fine before Bruce changed this stuff. Presumably the
changed code is working for the "core" or the change would have
been reverted days ago.


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: lots of configure failures on freebsd/alpha
Next
From: Bruno Wolff III
Date:
Subject: Re: ss_family in hba.c