X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=package%2Futils%2Fbusybox%2Fpatches%2F230-ntpd_delayed_resolve.patch;h=b0af08efb56e30bec69d7a4575195ffb0f2605fc;hb=f01f5c1cbf0baf6fddcf04101efc7b0f13005949;hp=1543e531733a56b5c025c319d208b4018f4407c0;hpb=9eaece8b29990293c1664e6cbe292bff6b8d6572;p=openwrt.git diff --git a/package/utils/busybox/patches/230-ntpd_delayed_resolve.patch b/package/utils/busybox/patches/230-ntpd_delayed_resolve.patch index 1543e53173..b0af08efb5 100644 --- a/package/utils/busybox/patches/230-ntpd_delayed_resolve.patch +++ b/package/utils/busybox/patches/230-ntpd_delayed_resolve.patch @@ -1,6 +1,6 @@ --- a/networking/ntpd.c +++ b/networking/ntpd.c -@@ -251,6 +251,7 @@ typedef struct { +@@ -265,6 +265,7 @@ typedef struct { typedef struct { len_and_sockaddr *p_lsa; char *p_dotted; @@ -8,7 +8,7 @@ int p_fd; int datapoint_idx; uint32_t lastpkt_refid; -@@ -756,8 +757,9 @@ add_peers(const char *s) +@@ -766,8 +767,9 @@ add_peers(const char *s) peer_t *p; p = xzalloc(sizeof(*p)); @@ -20,7 +20,7 @@ p->p_fd = -1; p->p_xmt_msg.m_status = MODE_CLIENT | (NTP_VERSION << 3); p->next_action_time = G.cur_time; /* = set_next(p, 0); */ -@@ -806,6 +808,25 @@ send_query_to_peer(peer_t *p) +@@ -816,6 +818,25 @@ send_query_to_peer(peer_t *p) * * Uncomment this and use strace to see it in action: */