From 302d3fe7606801c14a94fb7e9c22c90f96d1dc56 Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Tue, 5 Jul 2011 22:28:45 +0000 Subject: Explicitly reserve space for special ICMP6 headers in pf_hdrs, like it was done for pf_headers in pf.c. ok mcbride@ henning@ --- sys/net/if_pflog.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/net/if_pflog.c b/sys/net/if_pflog.c index 392d2b10f56..bcc4790da4f 100644 --- a/sys/net/if_pflog.c +++ b/sys/net/if_pflog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pflog.c,v 1.35 2011/06/20 19:03:41 claudio Exp $ */ +/* $OpenBSD: if_pflog.c,v 1.36 2011/07/05 22:28:44 bluhm Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -283,6 +283,8 @@ pflog_bpfcopy(const void *src_arg, void *dst_arg, size_t len) struct icmp icmp; #ifdef INET6 struct icmp6_hdr icmp6; + struct mld_hdr mld; + struct nd_neighbor_solicit nd_ns; #endif /* INET6 */ } pf_hdrs; -- cgit v1.2.3