diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2011-08-13 15:49:24 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2011-08-13 15:49:24 +0000 |
commit | bc90e7bf936952dadc4d802ac62d5b0b32ffdf0b (patch) | |
tree | edec1053d0b0367765f05c6545d8284dbe84b00f /gtk/capture_dlg.h | |
parent | 4431957840971baa65c067b9080fea53654d0dad (diff) |
Make the monitor mode selectable only when supported by the interface.
This fixes a bug reported by Stig.
svn path=/trunk/; revision=38506
Diffstat (limited to 'gtk/capture_dlg.h')
-rw-r--r-- | gtk/capture_dlg.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/capture_dlg.h b/gtk/capture_dlg.h index 1e8abaa0de..e9909b43f5 100644 --- a/gtk/capture_dlg.h +++ b/gtk/capture_dlg.h @@ -65,7 +65,10 @@ typedef struct row_options_tag { GList *links; gint active_dlt; gboolean pmode; - gboolean monitor_mode; +#ifdef HAVE_PCAP_CREATE + gboolean monitor_mode_enabled; + gboolean monitor_mode_supported; +#endif gboolean has_snaplen; guint snaplen; gint buffer; |