summaryrefslogtreecommitdiffstats
path: root/sys/net/if_pflog.h
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2010-09-21 11:05:10 +0000
committerhenning <henning@openbsd.org>2010-09-21 11:05:10 +0000
commit9779ffdc1a2195e04c330bc4f33c52e15ec1da64 (patch)
tree011388e020994adb30159e1f2410ebc400ec15c3 /sys/net/if_pflog.h
parentAdd '-label' to specify that you only want to see routes having the (diff)
downloadwireguard-openbsd-9779ffdc1a2195e04c330bc4f33c52e15ec1da64.tar.xz
wireguard-openbsd-9779ffdc1a2195e04c330bc4f33c52e15ec1da64.zip
aye. that should not have been forgotten. add the rewritten indicator
to struct pflog. ok gcc
Diffstat (limited to 'sys/net/if_pflog.h')
-rw-r--r--sys/net/if_pflog.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if_pflog.h b/sys/net/if_pflog.h
index 243870375d0..e1ef3cdd60f 100644
--- a/sys/net/if_pflog.h
+++ b/sys/net/if_pflog.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pflog.h,v 1.16 2010/09/21 04:06:37 henning Exp $ */
+/* $OpenBSD: if_pflog.h,v 1.17 2010/09/21 11:05:10 henning Exp $ */
/*
* Copyright 2001 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -53,7 +53,8 @@ struct pfloghdr {
uid_t rule_uid;
pid_t rule_pid;
u_int8_t dir;
- u_int8_t pad[3];
+ u_int8_t rewritten;
+ u_int8_t pad[2];
struct pf_addr saddr;
struct pf_addr daddr;
u_int16_t sport;