-/* $OpenBSD: pf.c,v 1.881 2014/07/10 03:17:59 lteo Exp $ */
+/* $OpenBSD: pf.c,v 1.882 2014/07/13 16:58:43 bluhm Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
m_copyback(pd->m, pd->off,
sizeof(struct icmp6_hdr), pd->hdr.icmp6,
M_NOWAIT);
- m_copyback(pd->m, pd2.off,
+ m_copyback(pd2.m, ipoff2, sizeof(h2_6), &h2_6,
+ M_NOWAIT);
+ m_copyback(pd2.m, pd2.off,
sizeof(struct icmp6_hdr), &iih, M_NOWAIT);
copyback = 1;
}