[Bug 9146] ntpd uses wrong IP address in reply to query
bugzilla at busybox.net
bugzilla at busybox.net
Sat Aug 13 21:36:57 UTC 2016
https://bugs.busybox.net/show_bug.cgi?id=9146
Denys Vlasenko <vda.linux at googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #2 from Denys Vlasenko <vda.linux at googlemail.com> ---
Please check that the libc you compile against provides IP_PKTINFO.
Specifically, this ifndef in udp_io.c
should not be taken:
ssize_t FAST_FUNC
send_to_from(int fd, void *buf, size_t len, int flags,
const struct sockaddr *to,
const struct sockaddr *from,
socklen_t tolen)
{
#ifndef IP_PKTINFO
(void)from; /* suppress "unused from" warning */
return sendto(fd, buf, len, flags, to, tolen);
#else
If you are sure that the "else" branch is taken here, then please strace your
ntpd invocation, *from the beginning* (not strace -p PID) and attach the log
here.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list