summaryrefslogtreecommitdiff
path: root/ui/capture_ui_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/capture_ui_utils.h')
-rw-r--r--ui/capture_ui_utils.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ui/capture_ui_utils.h b/ui/capture_ui_utils.h
index 6146e96f43..50fb13073a 100644
--- a/ui/capture_ui_utils.h
+++ b/ui/capture_ui_utils.h
@@ -85,8 +85,14 @@ gboolean capture_dev_user_snaplen_find(const gchar *if_name, gboolean *hassnap,
/**
* Find user-specified promiscuous mode that matches interface
* name, if any.
+ *
+ * @param if_name The name of the interface.
+ * @param pmode Pointer to a variable to be set to TRUE if promiscuous
+ * mode should be used and FALSE if it shouldn't be used.
+ *
+ * @return TRUE if found or FALSE if not found.
*/
-gboolean capture_dev_user_pmode_find(const gchar *if_name);
+gboolean capture_dev_user_pmode_find(const gchar *if_name, gboolean *pmode);
/**
* Find user-specified capture filter that matches interface