git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a2013c
)
init_routines was moved back to globals.
author
Luis Ontanon
<luis.ontanon@gmail.com>
Tue, 7 Feb 2006 03:47:13 +0000
(
03:47
-0000)
committer
Luis Ontanon
<luis.ontanon@gmail.com>
Tue, 7 Feb 2006 03:47:13 +0000
(
03:47
-0000)
svn path=/trunk/; revision=17192
plugins/lua/lua_proto.c
patch
|
blob
|
history
diff --git
a/plugins/lua/lua_proto.c
b/plugins/lua/lua_proto.c
index b7f1165c3c872cc6550d0ce82da3d3b93fd1d701..dd288cb192b05db6483c7c1ddf4ae91c330aebc4 100644
(file)
--- a/
plugins/lua/lua_proto.c
+++ b/
plugins/lua/lua_proto.c
@@
-874,7
+874,7
@@
static int Proto_set_init(lua_State* L) {
if (lua_isfunction(L,3)) {
/* insert the dissector into the dissectors table */
lua_pushstring(L, LUA_INIT_ROUTINES);
- lua_gettable(L, LUA_
REGISTRY
INDEX);
+ lua_gettable(L, LUA_
GLOBALS
INDEX);
lua_replace(L, 1);
lua_pushstring(L,proto->name);
lua_replace(L, 2);