Wireshark-commits: [Wireshark-commits] rev 32009: /trunk/wiretap/ /trunk/wiretap/: ascend-int.h asc
Date: Thu, 25 Feb 2010 20:46:07 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=32009

User: guy
Date: 2010/02/25 12:46 PM

Log:
 Have parse_ascend() return:
 
     PARSED_RECORD if we got a packet;
 
     PARSED_NONRECORD if the parser succeeded but didn't see a packet;
 
     PARSE_FAILED if the parser failed.
 
 Treat anything other than PARSED_RECORD as a failure, for now; I'm not
 sure why we were treating "parser succeeded but didn't see a packet" as
 success, as that was causing us to recognize some non-Ascend-output text
 files as Ascend files and to return "records" with bogus caplen and len
 values.

Directory: /trunk/wiretap/
  Changes    Path            Action
  +6 -1      ascend-int.h    Modified
  +9 -6      ascend.y        Modified
  +6 -3      ascendtext.c    Modified