[Bug 9146] ntpd uses wrong IP address in reply to query

bugzilla at busybox.net bugzilla at busybox.net
Tue Aug 16 12:21:08 UTC 2016


https://bugs.busybox.net/show_bug.cgi?id=9146

--- Comment #4 from Denys Vlasenko <vda.linux at googlemail.com> ---
(In reply to Stijn Tintel from comment #3)
> It also happened a on OpenWrt at the time it was still using uClibc by default. In uClibc, IP_PKTINFO is defined in https://git.uclibc.org/uClibc/tree/libc/sysdeps/linux/common/bits/in.h

On uclibc, IP_PKTINFO is successfully picked up. At least for me.

> Is this something you are willing to fix, or do we need to patch it in LEDE?

Please let me know which modification of includes in ntpd.c makes your build
against musl work? Currently it has

#include "libbb.h"
#include <math.h>
#include <netinet/ip.h> /* For IPTOS_LOWDELAY definition */
#include <sys/resource.h> /* setpriority */
#include <sys/timex.h>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list