68e7ca9
diff -up wireshark-1.2.4/epan/wslua/template-init.lua.enable_lua wireshark-1.2.4/epan/wslua/template-init.lua
68e7ca9
--- wireshark-1.2.4/epan/wslua/template-init.lua.enable_lua	2009-11-16 21:30:58.000000000 +0100
68e7ca9
+++ wireshark-1.2.4/epan/wslua/template-init.lua	2009-12-15 09:33:59.000000000 +0100
68e7ca9
@@ -26,7 +26,7 @@
68e7ca9
 -- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
68e7ca9
 
68e7ca9
 -- Lua is disabled by default, comment out the following line to enable Lua support.
68e7ca9
-disable_lua = true; do return end;
68e7ca9
+-- disable_lua = true; do return end;
68e7ca9
 
68e7ca9
 
68e7ca9
 -- If set and we are running with special privileges this setting
68e7ca9
@@ -39,7 +39,7 @@ if running_superuser then
68e7ca9
     local disabled_lib = {}
68e7ca9
     setmetatable(disabled_lib,{ __index = function() error("this package has been disabled") end } );
68e7ca9
 
68e7ca9
-    dofile = function() error("dofile has been disabled") end
68e7ca9
+--    dofile = function() error("dofile has been disabled") end
68e7ca9
     loadfile = function() error("loadfile has been disabled") end
68e7ca9
     loadlib = function() error("loadlib has been disabled") end
68e7ca9
     require = function() error("require has been disabled") end