diff options
author | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-07-09 04:18:36 +0000 |
---|---|---|
committer | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-07-09 04:18:36 +0000 |
commit | cfce9d4e58cc4d11aa54bbaca0e0d53c0f0aa898 (patch) | |
tree | 45c8b659a436d5f9f9942e24983e95bbc1430594 /summary.c | |
parent | e98c9ae5d4622ab43c1d5bd361cc821a34c37eb8 (diff) |
Added the ability to create a read-only ethereal, i.e., one that
doesn't link with libpcap, so no packet captures can be made. The
"--disable-pcap" option has been added to the configure script. Docs
have been updated. And the string buffer size in the simple_dialog()
has been doubled so that Johan's e-mail address in the "About" dialogue
window doesn't get chopped off.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@351 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'summary.c')
-rw-r--r-- | summary.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* summary.c * Routines for capture file summary window * - * $Id: summary.c,v 1.3 1999/07/07 22:52:00 gram Exp $ + * $Id: summary.c,v 1.4 1999/07/09 04:18:36 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -33,7 +33,6 @@ #endif #include <gtk/gtk.h> -#include <pcap.h> #include <stdlib.h> #include <stdio.h> @@ -280,6 +279,7 @@ traffic_bytes/seconds); } add_string_to_box(string_buff, capture_box); +#ifdef HAVE_LIBPCAP /* Capture filter */ if (cf.cfilter) { snprintf(string_buff, SUM_STR_MAX, "Capture filter: %s", cf.cfilter); @@ -287,6 +287,8 @@ traffic_bytes/seconds); sprintf(string_buff, "Capture filter: none"); } add_string_to_box(string_buff, capture_box); +#endif + gtk_window_set_position(GTK_WINDOW(sum_open_w), GTK_WIN_POS_MOUSE); gtk_widget_show(sum_open_w); } |