Skip to content
Snippets Groups Projects
Commit 85df6291 authored by Ian Bruene's avatar Ian Bruene
Browse files

Removed type pun from receive().

parent a18095ff
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -728,7 +728,7 @@ receive(
* intentionally use an early version.
*/
{
uint8_t hisversion = PKT_VERSION(rbufp->recv_pkt.li_vn_mode);
uint8_t hisversion = PKT_VERSION(rbufp->recv_buffer[0]);
if (hisversion == NTP_VERSION) {
sys_newversion++; /* new version */
} else if (!(restrict_mask & RES_VERSION) && hisversion >=
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment