aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-02-05 14:37:56 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-02-05 14:37:56 +0000
commit244c060b45e2e82db3f439c9dd1589aac7856d0e (patch)
tree9fc35571f4f942cfb8ba4747e1e41bb5c3ae27ff /file.c
parent316ce5f19bb845f77655c366c46aa9d3bafcf951 (diff)
use the interfaces descriptive name to be shown in the statusbar as it's, well, more descriptive
svn path=/trunk/; revision=13307
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/file.c b/file.c
index 01fa09fa24..315bf50f0f 100644
--- a/file.c
+++ b/file.c
@@ -88,6 +88,7 @@
#include <epan/tap.h>
#include "tap_dfilter_dlg.h"
#include <epan/dissectors/packet-data.h>
+#include "capture_ui_utils.h"
/* Win32 needs the O_BINARY flag for open() */
#ifndef O_BINARY
@@ -545,7 +546,7 @@ cf_start_tail(capture_file *cf, const char *fname, gboolean is_tempfile, int *er
packets (yes, I know, we don't have any *yet*). */
set_menus_for_captured_packets(TRUE);
- capture_msg = g_strdup_printf(" %s: <live capture in progress>", cf->iface);
+ capture_msg = g_strdup_printf(" %s: <live capture in progress>", get_interface_descriptive_name(cf->iface));
statusbar_push_file_msg(capture_msg);