Wireshark-commits: [Wireshark-commits] rev 38492: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Thu, 11 Aug 2011 21:59:02 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=38492

User: morriss
Date: 2011/08/11 02:59 PM

Log:
 From Anish Bhatt via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6113 :
 
 The standard iscsi dissector only recognizes iscsi traffic to and from port
 3260 as specified. However, it doesn't understand traffic in MPIO/MCS
 connections where the iscsi target runs on a range of ports (3260-3270 for
 eg.); or rather it will ignore all iscsi traffic not on the specified port.
 
 Attached patch adds ability to recognize iscsi traffic over a range of ports.
 Default range is set to 3260-3260, so it behaves exactly like the current
 dissector.
 
 
 From me:
 
 Don't surround a bunch of code in proto_register_iscsi() with braces just to
 allow a new variable to be declared (without incurring the wrath of
 non-C99-compliant compilers): just declare the variable at the top of the
 function.

Directory: /trunk/epan/dissectors/
  Changes    Path              Action
  +78 -76    packet-iscsi.c    Modified