aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-27 20:00:30 +0000
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-27 20:00:30 +0000
commitd00488030813e636ee44f50761bc4c554c0ee49f (patch)
tree1b67851f9494d54fdfdd701d921eafa0b49b9a3c /tshark.c
parent20d6ec1599ae21db5f0d9b619b91b92f4eb95266 (diff)
Put variable under the correct #ifdef.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37807 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tshark.c b/tshark.c
index 81b0e64030..ed78255573 100644
--- a/tshark.c
+++ b/tshark.c
@@ -814,6 +814,8 @@ main(int argc, char *argv[])
int status;
GList *if_list;
gchar *err_str;
+ guint i;
+ interface_options interface_opts;
#else
gboolean capture_option_specified = FALSE;
#endif
@@ -834,8 +836,6 @@ main(int argc, char *argv[])
GLogLevelFlags log_flags;
int optind_initial;
gchar *output_only = NULL;
- guint i;
- interface_options interface_opts;
#ifdef HAVE_LIBPCAP
#if defined(_WIN32) || defined(HAVE_PCAP_CREATE)