Enforce that wtap requires VIMAGE to be useful.
This commit is contained in:
parent
de9dec16dd
commit
3c77ac7c7a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user