ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 6113] [PATCH] Update iscsi dissector to support multiple p

Date: Wed, 13 Jul 2011 01:21:43 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6113

--- Comment #2 from Anish Bhatt <anish@xxxxxxxxxxx> 2011-07-13 01:21:42 PDT ---
(In reply to comment #1)
> (In reply to comment #0)
> > I chose to implement this is a range rather than a comma separated list because
> > that seemed like the logical approach to me according to the setups I've seen,
> > not sure if there's a way to do both in the same dissector
> 
> If you use a range you can use "3260-3270" to get what you want, and personally
> I think a range is the best solution.

I actually implemented this as two fields, start & end. I couldn't find the
appropriate replacement for prefs_register_uint_preference for start-end.
AFAIK, prefs_register_uint_list_preference seems to take comma separated values
only. It'd be great if someone could point me to an example.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.