Wireshark-commits: [Wireshark-commits] rev 20705: /trunk/wiretap/ /trunk/wiretap/: k12.c
Date: Sun, 04 Feb 2007 02:13:13 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=20705

User: lego
Date: 2007/02/04 02:13 AM

Log:
 from:
 	 Kriang Lerdsuwanakij <lerdsuwa@xxxxxxxxxxxxxxxxxxxxx> 	
 
 I discovered that Wireshark K12xx detects the type of input (E1 timeslot or ATM)
 based on the extra information. My previous patch to enable Wireshark to open
 K12xx files with no extra information (extra_len equals 0 in SRCDEST record)
 failed to give later dissectors the input type.
 
 Attached is the patch to correct this for ATM PVC. It adds VPI/VCI/CID information
 for display in the dissected tree (in k12_open function). k12_read and k12_seek_read
 are also made more robust. These are reverse engineered based on hexeditor
 and constants found in tektronix configuration file. Please apply the patch.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +63 -30    k12.c         Modified