aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-09-27 19:52:19 +0000
committerGuy Harris <guy@alum.mit.edu>2011-09-27 19:52:19 +0000
commit2062d71c2cd2b87479caa74071077eb038394c79 (patch)
tree93cc10e8b43b7f7f74bf6c19695dffbd4a11b4dc
parent76a2642927ae52bbb060b68f2c8929e77cd08c3a (diff)
The separator between packets is an output option, not a capture option,
so it should be present even when building without libpcap. svn path=/trunk/; revision=39171
-rw-r--r--tshark.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tshark.c b/tshark.c
index 03bb755557..2f4ecb4fb9 100644
--- a/tshark.c
+++ b/tshark.c
@@ -133,15 +133,15 @@ static print_stream_t *print_stream;
static output_fields_t* output_fields = NULL;
+/* The line separator used between packets, changeable via the -S option */
+static char *separator = "";
+
#ifdef HAVE_LIBPCAP
/*
* TRUE if we're to print packet counts to keep track of captured packets.
*/
static gboolean print_packet_counts;
-/* The line separator used between packets, changeable via the -S option */
-static char *separator = "";
-
static capture_options global_capture_opts;
#ifdef SIGINFO