summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_dummynet.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/ip_dummynet.h')
-rw-r--r--sys/netinet/ip_dummynet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_dummynet.h b/sys/netinet/ip_dummynet.h
index 2c0e8b9..61ca6dd 100644
--- a/sys/netinet/ip_dummynet.h
+++ b/sys/netinet/ip_dummynet.h
@@ -99,7 +99,7 @@ struct dn_pipe { /* a pipe */
#define DN_TO_IP_IN 2
#define DN_TO_BDG_FWD 3
-#ifdef KERNEL
+#ifdef _KERNEL
MALLOC_DECLARE(M_IPFW);
@@ -111,6 +111,6 @@ int dummynet_io(int pipe, int dir,
struct mbuf *m, struct ifnet *ifp, struct route *ro,
struct sockaddr_in * dst,
struct ip_fw_chain *rule, int flags);
-#endif /* KERNEL */
+#endif
#endif /* _IP_DUMMYNET_H */
OpenPOWER on IntegriCloud