Blame wireshark-1.2.4-enable_lua.patch

Radek Vokál 68e7ca
diff -up wireshark-1.2.4/epan/wslua/template-init.lua.enable_lua wireshark-1.2.4/epan/wslua/template-init.lua
Radek Vokál 68e7ca
--- wireshark-1.2.4/epan/wslua/template-init.lua.enable_lua	2009-11-16 21:30:58.000000000 +0100
Radek Vokál 68e7ca
+++ wireshark-1.2.4/epan/wslua/template-init.lua	2009-12-15 09:33:59.000000000 +0100
Radek Vokál 68e7ca
@@ -39,7 +39,7 @@ if running_superuser then
Radek Vokál 68e7ca
     local disabled_lib = {}
Radek Vokál 68e7ca
     setmetatable(disabled_lib,{ __index = function() error("this package has been disabled") end } );
Radek Vokál 68e7ca
 
Radek Vokál 68e7ca
-    dofile = function() error("dofile has been disabled") end
Radek Vokál 68e7ca
+--    dofile = function() error("dofile has been disabled") end
Radek Vokál 68e7ca
     loadfile = function() error("loadfile has been disabled") end
Radek Vokál 68e7ca
     loadlib = function() error("loadlib has been disabled") end
Radek Vokál 68e7ca
     require = function() error("require has been disabled") end