summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-10-31 23:14:27 -0500
committerLuiz Souza <luiz@netgate.com>2017-07-17 21:06:26 -0500
commit4c7e10723b34609f548df3663643ee164a5525e2 (patch)
tree097c1b2bc3c75dabb12e56ffe7e949578e7bcab7
parentaa9e8f1e1d0ea6187bf3227c702b788877774673 (diff)
downloadFreeBSD-src-4c7e10723b34609f548df3663643ee164a5525e2.zip
FreeBSD-src-4c7e10723b34609f548df3663643ee164a5525e2.tar.gz
Round up the struct pfloghdr size to the next byte boundary.
Fixes the tcpdump decoding on pflog interface. Reported as a secondary bug in Ticket #4723 (cherry picked from commit 58df8b93be71a46ae8829e57ca1bfd94c4179e59)
-rw-r--r--sys/net/if_pflog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_pflog.h b/sys/net/if_pflog.h
index 326b551..4daa3ac 100644
--- a/sys/net/if_pflog.h
+++ b/sys/net/if_pflog.h
@@ -49,7 +49,7 @@ struct pfloghdr {
u_int32_t ridentifier;
#endif
u_int8_t dir;
- u_int8_t pad[3];
+ u_int8_t pad[7];
};
#define PFLOG_HDRLEN sizeof(struct pfloghdr)
OpenPOWER on IntegriCloud