aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/wtap
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2012-03-10 04:02:52 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2012-03-10 04:02:52 +0000
commit3c77ac7c7a8d8c3c6097d1053c6c71a233cd6dde (patch)
tree184f3956a700a858b2327db4cd23eda25cd6c026 /sys/dev/wtap
parentde9dec16dd21617a3958cdb0d4a6ab436bf3d125 (diff)
Notes
Diffstat (limited to 'sys/dev/wtap')
-rw-r--r--sys/dev/wtap/if_wtap.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/wtap/if_wtap.c b/sys/dev/wtap/if_wtap.c
index 41693685829e..29a90cbc4417 100644
--- a/sys/dev/wtap/if_wtap.c
+++ b/sys/dev/wtap/if_wtap.c
@@ -40,6 +40,13 @@
#include <net80211/ieee80211_ratectl.h>
#include "if_medium.h"
+/*
+ * This _requires_ vimage to be useful.
+ */
+#ifndef VIMAGE
+#error if_wtap requires VIMAGE.
+#endif /* VIMAGE */
+
/* device for IOCTL and read/write for debuggin purposes */
/* Function prototypes */
static d_open_t wtap_node_open;