aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2011-05-13 06:04:28 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2011-05-13 06:04:28 +0000
commita80b7e5feaa92def275dbb254125ce09bc617cba (patch)
tree705fc1c3cac3ea80f99d1d0ab36a9e687ace6cba
parent464486e1c5fe92475947174ad44e1d846c4c3926 (diff)
Use the same default value for the snaplen in the new array as in the
old way. svn path=/trunk/; revision=37113
-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)