aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_prefs.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-04-17 01:10:09 +0000
committerGuy Harris <guy@alum.mit.edu>2004-04-17 01:10:09 +0000
commitd4bb41b15db209e231eaa497c46cd2a959247a73 (patch)
tree638064f9385609e4fce184c963c3c583768c6592 /gtk/capture_prefs.c
parent76a4b357d83b027dbd853c619d2cac10327dea96 (diff)
Failure to get the list of interfaces should be reported as an error.
svn path=/trunk/; revision=10621
Diffstat (limited to 'gtk/capture_prefs.c')
-rw-r--r--gtk/capture_prefs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/capture_prefs.c b/gtk/capture_prefs.c
index 3ee985b1e3..0a79b794eb 100644
--- a/gtk/capture_prefs.c
+++ b/gtk/capture_prefs.c
@@ -1,7 +1,7 @@
/* capture_prefs.c
* Dialog box for capture preferences
*
- * $Id: capture_prefs.c,v 1.31 2004/03/13 15:15:22 ulfl Exp $
+ * $Id: capture_prefs.c,v 1.32 2004/04/17 01:10:09 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -659,7 +659,7 @@ ifopts_if_clist_add(GtkCList *clist)
if_list = get_interface_list(&err, err_str);
if (if_list == NULL && err == CANT_GET_INTERFACE_LIST) {
- simple_dialog(ESD_TYPE_WARN, ESD_BTN_OK,
+ simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
"Can't get list of interfaces: %s", err_str);
return;
}