base-files: Allow subtargets to define base-files.mk
[openwrt/openwrt.git] / package / utils / busybox / patches / 230-ntpd_delayed_resolve.patch
index 1543e531733a56b5c025c319d208b4018f4407c0..b0af08efb56e30bec69d7a4575195ffb0f2605fc 100644 (file)
@@ -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:
         */