Wireshark-bugs: [Wireshark-bugs] [Bug 6762] Consistent port range selection for dissectors

Date: Tue, 24 Jan 2012 14:36:21 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6762

--- Comment #1 from Tony Trinh <tony19@xxxxxxxxx> 2012-01-24 14:36:21 PST ---
Created attachment 7726
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7726
Lua port of range_convert_str()

Wireshark uses range_convert_str() to process range-strings from preferences:
http://anonsvn.wireshark.org/viewvc/trunk/epan/range.c?revision=37784&view=markup#l85

As a workaround for one of your issues, here's a Lua function that's equivalent
to range_convert_str(). It could use some optimization, but it works
identically as far as I can tell.

You can run a quick test with:

    $ tshark -v -Xlua_script:/path/to/range_convert_str.lua

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