diff options
author | 2018-04-06 10:39:15 +0000 | |
---|---|---|
committer | 2018-04-06 10:39:15 +0000 | |
commit | bf7176672eb1aa92221be5d2f15e896e62d889de (patch) | |
tree | 3387124ec453003b5f5baf5326da2b45cbce26d8 /sys/net/if_pflog.h | |
parent | Avoid leaking str if EVP_Digest() fails. (diff) | |
download | wireguard-openbsd-bf7176672eb1aa92221be5d2f15e896e62d889de.tar.xz wireguard-openbsd-bf7176672eb1aa92221be5d2f15e896e62d889de.zip |
All users of the PFLOG_PACKET() macro are inside "#if NPFLOG > 0".
So this macro does not make much sense, just call pflog_packet().
OK sashan@ henning@
Diffstat (limited to 'sys/net/if_pflog.h')
-rw-r--r-- | sys/net/if_pflog.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/net/if_pflog.h b/sys/net/if_pflog.h index ac14a901e15..bd02500bf02 100644 --- a/sys/net/if_pflog.h +++ b/sys/net/if_pflog.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pflog.h,v 1.27 2017/05/16 11:36:16 mpi Exp $ */ +/* $OpenBSD: if_pflog.h,v 1.28 2018/04/06 10:39:15 bluhm Exp $ */ /* * Copyright 2001 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -66,10 +66,5 @@ struct pflog_softc { int sc_unit; }; -#if NPFLOG > 0 -#define PFLOG_PACKET(a,b,c,d,e,f) pflog_packet(a,b,c,d,e,f) -#else -#define PFLOG_PACKET(a,b,c,d,e,f) ((void)0) -#endif /* NPFLOG > 0 */ #endif /* _KERNEL */ #endif /* _NET_IF_PFLOG_H_ */ |