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:
parent
901627bfd8
commit
1e76a31b7a
|
@ -175,7 +175,7 @@ static void finalize_frame(void) {
|
||||||
static void k12text_reset(FILE_T fh) {
|
static void k12text_reset(FILE_T fh) {
|
||||||
yy_fh = fh;
|
yy_fh = fh;
|
||||||
yyrestart(0);
|
yyrestart(0);
|
||||||
encap = WTAP_ENCAP_PER_PACKET;
|
encap = WTAP_ENCAP_UNKNOWN;
|
||||||
ok_frame = FALSE;
|
ok_frame = FALSE;
|
||||||
is_k12text = FALSE;
|
is_k12text = FALSE;
|
||||||
at_eof = FALSE;
|
at_eof = FALSE;
|
||||||
|
|
Loading…
Reference in New Issue