aboutsummaryrefslogtreecommitdiffstats
path: root/capture_ui_utils.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-02-17 02:18:48 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-02-17 02:18:48 +0000
commit79053183c54a7e0efc29b656a47deff19f0dee2c (patch)
tree8dd5dd504a3c13ed7cd5cd018bca2736e2bb1467 /capture_ui_utils.c
parent58d9f6c3b1e8ed8cc914e6f3d5af87c3e12a2ff3 (diff)
remove dependencies to pcap.h, so getting an idea what needs to be done by dumpcap in addition to the things already done now
various dumpcap related code cleanup: mainly #include's and capture engine related stuff svn path=/trunk/; revision=17327
Diffstat (limited to 'capture_ui_utils.c')
-rw-r--r--capture_ui_utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/capture_ui_utils.c b/capture_ui_utils.c
index 94ac20c6ae..4cf77e51d2 100644
--- a/capture_ui_utils.c
+++ b/capture_ui_utils.c
@@ -28,7 +28,6 @@
#ifdef HAVE_LIBPCAP
-#include <pcap.h>
#include <string.h>
#include <glib.h>
@@ -110,7 +109,7 @@ get_interface_descriptive_name(const char *if_name)
GList *if_entry;
if_info_t *if_info;
int err;
- char err_buf[PCAP_ERRBUF_SIZE];
+ char err_buf[CAPTURE_PCAP_ERRBUF_SIZE];
/* Do we have a user-supplied description? */
descr = capture_dev_user_descr_find(if_name);