summaryrefslogtreecommitdiff
path: root/sys/net/if_pflog.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2011-05-22 13:21:25 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2011-05-22 13:21:25 +0000
commitfdf03e050c8a52acd40a0bffd466f77c1452ef44 (patch)
tree6eb33419be529b91b0c6d19c645dd372a021dfb2 /sys/net/if_pflog.h
parent9a7c935992b38d1c16e920961b18c9234102daa7 (diff)
Do not pass AF specific information to pf_test_rule() and PFLOG_PACKET()
because either the info is already available in struct pd or easy to figure out. Makes pf_test() and pf_test6() even more similar (with the target to remove one of them in the near future). OK henning@
Diffstat (limited to 'sys/net/if_pflog.h')
-rw-r--r--sys/net/if_pflog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_pflog.h b/sys/net/if_pflog.h
index e1ef3cdd60f..ca6037abf4d 100644
--- a/sys/net/if_pflog.h
+++ b/sys/net/if_pflog.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pflog.h,v 1.17 2010/09/21 11:05:10 henning Exp $ */
+/* $OpenBSD: if_pflog.h,v 1.18 2011/05/22 13:21:24 claudio Exp $ */
/*
* Copyright 2001 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -70,9 +70,9 @@ struct pfloghdr {
void pflog_bpfcopy(const void *, void *, size_t);
#if NPFLOG > 0
-#define PFLOG_PACKET(i,x,a,b,c,d,e,f,g,h) pflog_packet(i,a,b,c,d,e,f,g,h)
+#define PFLOG_PACKET(i,x,b,c,d,e,f,g,h) pflog_packet(i,b,c,d,e,f,g,h)
#else
-#define PFLOG_PACKET(i,x,a,b,c,d,e,f,g,h) ((void)0)
+#define PFLOG_PACKET(i,x,b,c,d,e,f,g,h) ((void)0)
#endif /* NPFLOG > 0 */
#endif /* _KERNEL */
#endif /* _NET_IF_PFLOG_H_ */