summaryrefslogtreecommitdiffstats
path: root/sys/contrib/pf/net/if_pflog.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/pf/net/if_pflog.h')
-rw-r--r--sys/contrib/pf/net/if_pflog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/contrib/pf/net/if_pflog.h b/sys/contrib/pf/net/if_pflog.h
index 157dd35..68560e4 100644
--- a/sys/contrib/pf/net/if_pflog.h
+++ b/sys/contrib/pf/net/if_pflog.h
@@ -30,9 +30,11 @@
#define _NET_IF_PFLOG_H_
struct pflog_softc {
- struct ifnet sc_if; /* the interface */
#ifdef __FreeBSD__
+ struct ifnet *sc_ifp; /* the interface */
LIST_ENTRY(pflog_softc) sc_next;
+#else
+ struct ifnet sc_if; /* the interface */
#endif
};
OpenPOWER on IntegriCloud