ETHEREAL_COMMON_SRC = \
$(PLATFORM_SRC) \
capture_stop_conditions.c \
+ capture_ui_utils.c \
cfile.c \
clopts_common.c \
conditions.c \
$(DISSECTOR_SUPPORT_INCLUDES) \
svnversion.h \
capture_stop_conditions.h \
+ capture_ui_utils.h \
cfile.h \
clopts_common.h \
color.h \
capture.c \
capture_sync.c \
capture_loop.c \
- capture_ui_utils.c \
color_filters.c \
file.c \
filters.c \
alert_box.h \
capture.h \
capture_sync.h \
- capture_ui_utils.h \
color_filters.h \
filters.h \
g711.h \
#include "conditions.h"
#include "capture_stop_conditions.h"
#include "ringbuffer.h"
+#include "capture_ui_utils.h"
#include <epan/epan_dissect.h>
#include <epan/tap.h>
#include <epan/timestamp.h>
char errmsg[1024+1];
condition *volatile cnd_stop_capturesize = NULL;
condition *volatile cnd_stop_timeout = NULL;
+ char *descr;
#ifndef _WIN32
void (*oldhandler)(int);
static const char ppamsg[] = "can't find PPA for ";
#endif /* _WIN32 */
/* Let the user know what interface was chosen. */
- fprintf(stderr, "Capturing on %s\n", cfile.iface);
+ descr = get_interface_descriptive_name(cfile.iface);
+ fprintf(stderr, "Capturing on %s\n", descr);
+ g_free(descr);
/* initialize capture stop conditions */
init_capture_stop_conditions();