summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-10-31 23:48:55 -0500
committerLuiz Souza <luiz@netgate.com>2017-07-17 20:48:24 -0500
commit233f97b8df53e8ade7e9e05116ffd5357b8eaca0 (patch)
tree2fa4795450135a92e194f53a6d3976fea214ffc4
parent8995c199362d57c049f278008c30703cffa626dd (diff)
downloadFreeBSD-src-233f97b8df53e8ade7e9e05116ffd5357b8eaca0.zip
FreeBSD-src-233f97b8df53e8ade7e9e05116ffd5357b8eaca0.tar.gz
Revert this change now that the structure size is fixed.
(cherry picked from commit 848f3f9df0ed02b8f112f77b4fa6530d91ba6735)
-rw-r--r--sys/netpfil/pf/if_pflog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netpfil/pf/if_pflog.c b/sys/netpfil/pf/if_pflog.c
index d4627b6..3e5d7c4 100644
--- a/sys/netpfil/pf/if_pflog.c
+++ b/sys/netpfil/pf/if_pflog.c
@@ -213,7 +213,7 @@ pflog_packet(struct pfi_kif *kif, struct mbuf *m, sa_family_t af, u_int8_t dir,
return (0);
bzero(&hdr, sizeof(hdr));
- hdr.length = PFLOG_HDRLEN;
+ hdr.length = PFLOG_REAL_HDRLEN;
hdr.af = af;
hdr.action = rm->action;
hdr.reason = reason;
OpenPOWER on IntegriCloud