diff options
author | Michael Mann <mmann78@netscape.net> | 2013-09-08 19:32:10 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-09-08 19:32:10 +0000 |
commit | 1b009df7495d3bd20aa09d7691855d927d96a87d (patch) | |
tree | ecb30deac855b55596994b9eb32490c9dc91ad90 /epan/wslua/wslua_tree.c | |
parent | fb75b6867e2181095ad023e09cafa72ab706a94c (diff) | |
download | wireshark-1b009df7495d3bd20aa09d7691855d927d96a87d.tar.gz |
Couldn't quite figure out how to make the expert items in proto.c and the LUA API filterable (suggestions welcome!), but I wanted to start forcing dissectors to use the filterable expert API (nothing like compile errors to force change!). I created expert_add_info_format_internal (original expert_add_info_format) and used it as a placeholder for proto.c/LUA API until a solution is created. The "new" expert_add_info_format will be the "old" expert_add_info_format_text, and I'll slowly do the search/replace.
For those with dissectors outside the source tree, please see tools/convert_expert_add_info_format.pl for help with the conversion. Please do not use expert_add_info_format_internal, as it's support time will be very short lived.
svn path=/trunk/; revision=51844
Diffstat (limited to 'epan/wslua/wslua_tree.c')
-rw-r--r-- | epan/wslua/wslua_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wslua/wslua_tree.c b/epan/wslua/wslua_tree.c index 4452abee8c..b9447a7471 100644 --- a/epan/wslua/wslua_tree.c +++ b/epan/wslua/wslua_tree.c @@ -336,7 +336,7 @@ WSLUA_METHOD TreeItem_add_expert_info(lua_State *L) { luaL_error(L,"expired TreeItem"); return 0; } - expert_add_info_format(lua_pinfo, ti->item, group, severity, "%s", str); + expert_add_info_format_internal(lua_pinfo, ti->item, group, severity, "%s", str); } return 0; |