diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-06-28 17:01:57 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-06-28 17:01:57 +0000 |
commit | fde7f31b4f928ad36bb7a5ce37806dd322b78a61 (patch) | |
tree | 83d063f1dbbe945305cd5d635f7fc4be2c268bf8 /iface_monitor.h | |
parent | 1d1391ed47b9b81770f19c13081de78569050eb9 (diff) |
No pcap, no interfaces to monitor.
svn path=/trunk/; revision=43522
Diffstat (limited to 'iface_monitor.h')
-rw-r--r-- | iface_monitor.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/iface_monitor.h b/iface_monitor.h index a33df9b904..88bd0a19d8 100644 --- a/iface_monitor.h +++ b/iface_monitor.h @@ -24,6 +24,8 @@ #ifndef IFACE_MONITOR_H #define IFACE_MONITOR_H +#ifdef HAVE_LIBPCAP + typedef void (*iface_mon_cb)(const char *iface, int up); int iface_mon_start(iface_mon_cb cb); @@ -37,4 +39,6 @@ iface_mon_get_sock(void); void iface_mon_event(void); -#endif +#endif /* HAVE_LIBPCAP */ + +#endif /* IFACE_MONITOR_H */ |