]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
merge cleanup
authorHarlan Stenn <stenn@ntp.org>
Mon, 17 Feb 2020 11:05:46 +0000 (11:05 +0000)
committerHarlan Stenn <stenn@ntp.org>
Mon, 17 Feb 2020 11:05:46 +0000 (11:05 +0000)
bk: 5e4a738aZJjYUL8A99SrZN6EPfyYpA

ntpd/ntp_proto.c

index 32357c8c11e324e34156845295b0d94264dbbd47..33e97ef9d9893a2108bff8304b4b8c4fbfee529c 100644 (file)
@@ -2444,7 +2444,7 @@ receive(
         * receive branch, but too much is going on here... at least we
         * do it only if the packet was good!
         */     
-       poll_update(peer, peer->hpoll);
+       poll_update(peer, peer->hpoll, (peer->hmode == MODE_CLIENT));
 
        /*
         * In interleaved mode update the state variables. Also adjust the