diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-02-05 14:37:56 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-02-05 14:37:56 +0000 |
commit | 244c060b45e2e82db3f439c9dd1589aac7856d0e (patch) | |
tree | 9fc35571f4f942cfb8ba4747e1e41bb5c3ae27ff /file.c | |
parent | 316ce5f19bb845f77655c366c46aa9d3bafcf951 (diff) | |
download | wireshark-244c060b45e2e82db3f439c9dd1589aac7856d0e.tar.gz wireshark-244c060b45e2e82db3f439c9dd1589aac7856d0e.tar.bz2 wireshark-244c060b45e2e82db3f439c9dd1589aac7856d0e.zip |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |