Skip to content

Commit f33c20a

Browse files
committedOct 21, 2017
ip_fw_pfil: fix compilation issue on linux
1 parent fe08978 commit f33c20a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎sys/netpfil/ipfw/ip_fw_pfil.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,10 +330,10 @@ ipfw_check_frame(void *arg, struct mbuf **m0, struct ifnet *dst, int dir,
330330
}
331331
}
332332
eh = mtod(m, struct ether_header *);
333+
save_eh = *eh; /* save copy for restore below */
333334
#if defined(USERSPACE)
334335
args.eh = eh;
335336
#else
336-
save_eh = *eh; /* save copy for restore below */
337337
args.eh = &save_eh; /* MAC header for bridged/MAC packets */
338338
#endif
339339
m_adj(m, ETHER_HDR_LEN); /* strip ethernet header */

0 commit comments

Comments
 (0)
Please sign in to comment.