From Hamish Moffatt:

daintree-sna.c doesn't initialise capture_file snapshot_length.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5128

svn path=/trunk/; revision=33904
This commit is contained in:
Anders Broman 2010-08-24 05:44:55 +00:00
parent 5371cb66b9
commit 95901a9b76
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ int daintree_sna_open(wtap *wth, int *err _U_, gchar **err_info _U_)
wth->file_type = WTAP_FILE_DAINTREE_SNA;
wth->file_encap = WTAP_ENCAP_IEEE802_15_4_NOFCS;
wth->tsprecision = WTAP_FILE_TSPREC_USEC;
wth->snapshot_length = 0; /* not available in header */
return 1; /* it's a Daintree file */
}