X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/ed85e20e4d6a27d5405f37366dd34b64c10a9211..ff23dba40e728115b878b009ec299b47b924991d:/print-nfs.c diff --git a/print-nfs.c b/print-nfs.c index cf3d71eb..dd2f7f12 100644 --- a/print-nfs.c +++ b/print-nfs.c @@ -905,7 +905,7 @@ xid_map_enter(netdissect_options *ndo, if (++xid_map_next >= XIDMAPSIZE) xid_map_next = 0; - xmep->xid = rp->rm_xid; + UNALIGNED_MEMCPY(&xmep->xid, &rp->rm_xid, sizeof(xmep->xid)); if (ip) { xmep->ipver = 4; UNALIGNED_MEMCPY(&xmep->client, &ip->ip_src, sizeof(ip->ip_src));