aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/wslua_proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/wslua/wslua_proto.c')
-rw-r--r--epan/wslua/wslua_proto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/wslua/wslua_proto.c b/epan/wslua/wslua_proto.c
index 67a0d9ee0c..fc9a6ad76c 100644
--- a/epan/wslua/wslua_proto.c
+++ b/epan/wslua/wslua_proto.c
@@ -300,7 +300,8 @@ WSLUA_METHOD Proto_register_heuristic(lua_State* L) {
g_assert(top == lua_gettop(L));
/* now register the single/common heur_dissect_lua function */
- heur_dissector_add(listname, heur_dissect_lua, proto->hfid);
+ /* XXX - ADD PARAMETERS FOR NEW heur_dissector_add PARAMETERS!!! */
+ heur_dissector_add(listname, heur_dissect_lua, proto_name, proto->loname, proto->hfid);
} else {
luaL_argerror(L,3,"The heuristic dissector must be a function");