diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-05-12 05:06:33 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-05-12 05:06:33 +0000 |
commit | 4ec50578de312c9aeba540d5aba330a65e740294 (patch) | |
tree | 1ff8a6397fe5c4ee5692435e343aa142a645a1e0 /doc/README.regression | |
parent | 742cb69433082121f92e8db94dc9202ad7ec35f2 (diff) |
In wiretap, set err to 0 before doing anything inside wtap_loop().
Tethereal was dying on me because err was initialized to some random value.
It was this section of code that would exit even if wtap_loop was successful
(returned TRUE) because err was never initialized or set to anything.
err = load_cap_file(&cf, out_file_type);
if (err != 0) {
dissect_cleanup();
exit(2);
}
<BIGGER sheepish grin>
Fixed even more errors in LLC dissector. I had inadvertantly used the
wrong tvbuff_t* when calling dissect_data_tvb(). There is no way we are going
to be successful in this tvbuff conversion w/o regression testing. I'm
working on setting up a simple Makefile for regression testing tonight.
That's why I'm finding so many bugs in my LLC conversion.
</BIGGER sheepish grin>
svn path=/trunk/; revision=1946
Diffstat (limited to 'doc/README.regression')
0 files changed, 0 insertions, 0 deletions