http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51860
User: stig
Date: 2013/09/08 10:45 PM
Log:
Added DissectorTable_set and DissectorTable_remove_all to simplify changing
registered port numbers in PROTO.prefs_changed.
Now we only need this code in Lua plugins having port numbers prefs:
PROTO.prefs.ports = Pref.range ("Ports", 0, "Port numbers", 65535)
PROTO.prefs_changed()
local udp_table = DissectorTable.get ("udp.port")
udp_table:set (PROTO.prefs.ports, PROTO)
end
Directory: /trunk/epan/wslua/
Changes Path Action
+94 -10 wslua_proto.c Modified