home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.protocols.time.ntp:1152 comp.unix.aix:13032 comp.protocols.tcp-ip:5808
- Path: sparky!uunet!vtserf!black-ice.cc.vt.edu!valdis
- From: valdis@black-ice.cc.vt.edu (Valdis Kletnieks)
- Newsgroups: comp.protocols.time.ntp,comp.unix.aix,comp.protocols.tcp-ip
- Subject: Re: xntp3 socket problem with UDP datagrams from INADDR_ANY.
- Keywords: xntp3,AIX/370,UDP,socket
- Message-ID: <10895@vtserf.cc.vt.edu>
- Date: 6 Jan 93 00:33:23 GMT
- References: <1992Dec29.115408.103086@ipgaix.unipg.it>
- Sender: usenet@vtserf.cc.vt.edu
- Followup-To: comp.protocols.time.ntp
- Organization: Virginia Tech, Blacksburg, VA
- Lines: 29
-
- In article <1992Dec29.115408.103086@ipgaix.unipg.it> peppe@ipgaix.unipg.it (G. Vitillaro) writes:
- >
- >I had this problem with xntp3 (in xntpd) under AIX/370 1.2.1 (1400).
- >I'm interested to understand if I met a bug and
- >if there is any way to go over the problem.
-
- Oh.. *that* little bug. It drove me bonkers while trying to get
- AIX/370 and xntp to cooperate. Here's the fix I used to work
- around it:
-
- *** ntp_io.c.dist Tue Mar 17 16:39:15 1992
- --- ntp_io.c Tue Mar 17 16:40:26 1992
- ***************
- *** 688,693 ****
- --- 688,694 ----
- printf("sendpkt(%s, %s, %d)\n", ntoa(dest),
- ntoa(&inter->sin), len);
- #endif
- + if (inter == any_interface) inter++;
-
- for (slot = ERRORCACHESIZE; --slot >= 0; )
- if (badaddrs[slot].port == dest->sin_port &&
-
-
- This basically prevents xntpd from "seeing" the 'wildcard' interface.
-
- Valdis Kletnieks
- Computer Systems Engineer
- Virginia Tech
-