[ntp:bugs] [Bug 721] ntp_request.c: struct sockaddr_storage has no member named ss_len

bugzilla at ntp.isc.org bugzilla at ntp.isc.org
Tue Oct 17 05:54:02 UTC 2006


http://bugs.ntp.isc.org/721


dclark at pobox.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #301 is|0                           |1
           obsolete|                            |


----------------------------------------------------------------------------
Additional Comments From dclark at pobox.com (Daniel Clark)
Submitted on 2006-10-17 05:54

Created an attachment (id=303)
 --> (http://bugs.ntp.isc.org/attachment.cgi?id=303&action=view)
Differences between the working and not working socket.h files

It looks like in some AIX 5.3 ML or patch between 7/14/05 and 5/4/06:

-/* @(#)63	1.10.2.63  src/bos/kernel/sys/socket.h, sockinc, bos53D,
d2005_29A4 7/14/05 14:56:20 */

and:

+/* @(#)63	1.10.2.66  src/bos/kernel/sys/socket.h, sockinc, bos53H,
h2006_19B0 5/3/06 23:09:53 */

The AIX socket interface changed quite a bit. I tried compiling with the
1.10.2.63 socket.h on a system that originally had the 1.10.2.66 version; the
compile went fine (configure doesn't die like with the 1.10.2.66 version), but
the resulting ntpd binary dumps core with:

/usr/local/src/ntp-4.2.2p3/libntp/../libisc/ifiter_ioctl.c:637: prefix length
for ::1 is unknown (assume 128)
Segmentation fault (core dumped)

I'm attaching the complete diff between the 2 files.

-- 
Daniel Clark <dclark at pobox.com>



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the bugs mailing list