aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.c
diff options
context:
space:
mode:
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-13 06:04:28 +0000
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-13 06:04:28 +0000
commit87379596ea202274293e1a45df56f8711f7e8d25 (patch)
tree705fc1c3cac3ea80f99d1d0ab36a9e687ace6cba /capture_opts.c
parent9f3444f2719001878f135e0489c27a6af6b58069 (diff)
Use the same default value for the snaplen in the new array as in the
old way. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37113 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture_opts.c')
-rw-r--r--capture_opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_opts.c b/capture_opts.c
index f419dc934a..2b2a945455 100644
--- a/capture_opts.c
+++ b/capture_opts.c
@@ -64,7 +64,7 @@ capture_opts_init(capture_options *capture_opts, void *cf)
capture_opts->default_options.name = g_strdup("");
capture_opts->default_options.descr = g_strdup("");
capture_opts->default_options.cfilter = g_strdup("");
- capture_opts->default_options.snaplen = 0;
+ capture_opts->default_options.snaplen = WTAP_MAX_PACKET_SIZE;
capture_opts->default_options.linktype = -1;
capture_opts->default_options.promisc_mode = TRUE;
#if defined(_WIN32) || defined(HAVE_PCAP_CREATE)