use the interfaces descriptive name to be shown in the statusbar as it's, well, more descriptive

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13307 f5534014-38df-0310-8fa8-9805f1628bb7
This commit is contained in:
ulfl 2005-02-05 14:37:56 +00:00
parent 48bdd8e27b
commit e568c79aeb
1 changed files with 2 additions and 1 deletions

3
file.c
View File

@ -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);