Use encap=WTAP_ENCAP_UNKNOWN if encap can't be determined from the file frame.

(The original code before SVN 27158 was correct).

svn path=/trunk/; revision=27159
This commit is contained in:
Bill Meier 2009-01-05 20:05:39 +00:00
parent 901627bfd8
commit 1e76a31b7a
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ static void finalize_frame(void) {
static void k12text_reset(FILE_T fh) {
yy_fh = fh;
yyrestart(0);
encap = WTAP_ENCAP_PER_PACKET;
encap = WTAP_ENCAP_UNKNOWN;
ok_frame = FALSE;
is_k12text = FALSE;
at_eof = FALSE;