ntp: fix remote poll in measurements log

Write the poll value from the received packet instead of the saved
value, which doesn't have to be always updated.
This commit is contained in:
Miroslav Lichvar 2016-11-09 17:31:55 +01:00
parent 2c877fa149
commit 5c691a5460

View file

@ -1582,7 +1582,7 @@ receive_packet(NCR_Instance inst, NTP_Local_Address *local_addr,
leap_chars[pkt_leap],
message->stratum,
test1, test2, test3, test5, test6, test7, testA, testB, testC, testD,
inst->local_poll, inst->remote_poll,
inst->local_poll, message->poll,
inst->poll_score,
offset, delay, dispersion,
pkt_root_delay, pkt_root_dispersion, pkt_refid,