Enforce that wtap requires VIMAGE to be useful.

This commit is contained in:
Adrian Chadd 2012-03-10 04:02:52 +00:00
parent de9dec16dd
commit 3c77ac7c7a

View File

@ -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;