From Anish Bhatt via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6113 :
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 11 Aug 2011 21:59:02 +0000 (21:59 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 11 Aug 2011 21:59:02 +0000 (21:59 +0000)
commitb896abca3752f2b1407185f2d6ee51a0828dea3b
tree8d00588db95470ea5fd7637dcba94c5e25b54937
parent2f1e577fd2e43be7580f3970302a76bdf77668b2
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38492 f5534014-38df-0310-8fa8-9805f1628bb7
epan/dissectors/packet-iscsi.c