]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Update comment on setting poll in reply packet
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 17 Jan 2014 17:09:48 +0000 (18:09 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 17 Jan 2014 17:10:32 +0000 (18:10 +0100)
ntp_core.c

index 58e8aae3dfafaf14d11c17532cfb141c28bb2247..dbcfaed93f41b2834151b31b9f2b4ba7c3c0959e 100644 (file)
@@ -1509,7 +1509,8 @@ NCR_ProcessUnknown
       }
 
       if (!do_auth || (valid_key && valid_auth)) {
-        my_poll = message->poll; /* What should this be set to?  Does the client actually care? */
+        /* Reply with the same poll, the client may use it to control its poll */
+        my_poll = message->poll;
 
         transmit_packet(my_mode, my_poll,
                         version,