diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2006-02-17 02:18:48 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2006-02-17 02:18:48 +0000 |
commit | 79053183c54a7e0efc29b656a47deff19f0dee2c (patch) | |
tree | 8dd5dd504a3c13ed7cd5cd018bca2736e2bb1467 /gtk/capture_prefs.c | |
parent | 58d9f6c3b1e8ed8cc914e6f3d5af87c3e12a2ff3 (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 'gtk/capture_prefs.c')
-rw-r--r-- | gtk/capture_prefs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/capture_prefs.c b/gtk/capture_prefs.c index 403990169e..c17b75e053 100644 --- a/gtk/capture_prefs.c +++ b/gtk/capture_prefs.c @@ -28,7 +28,6 @@ #ifdef HAVE_LIBPCAP -#include <pcap.h> #include <string.h> #include <gtk/gtk.h> @@ -85,7 +84,7 @@ capture_prefs_show(void) GtkWidget *ifopts_lb, *ifopts_bt; GList *if_list, *combo_list; int err; - char err_str[PCAP_ERRBUF_SIZE]; + char err_str[CAPTURE_PCAP_ERRBUF_SIZE]; int row = 0; GtkTooltips *tooltips = gtk_tooltips_new(); @@ -695,7 +694,7 @@ ifopts_if_clist_add(void) { GList *if_list; int err; - char err_str[PCAP_ERRBUF_SIZE]; + char err_str[CAPTURE_PCAP_ERRBUF_SIZE]; gchar *cant_get_if_list_errstr; if_info_t *if_info; guint i; |