diff options
Diffstat (limited to 'testprogs/writecaptest.c')
-rw-r--r-- | testprogs/writecaptest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testprogs/writecaptest.c b/testprogs/writecaptest.c index 7d317732..38e2b4a1 100644 --- a/testprogs/writecaptest.c +++ b/testprogs/writecaptest.c @@ -83,7 +83,7 @@ main(int argc, char **argv) { int op; char *cp, *cmdbuf = NULL, *device, *end, *savefile = NULL; - int snaplen; + int snaplen = 0; int snaplen_set = 0; pcap_if_t *devlist; int show_dlt_types = 0; |