2011-02-15 14:04:22 +01:00
|
|
|
Index: wireshark-1.4.3/epan/wslua/template-init.lua
|
2010-12-08 18:31:25 +01:00
|
|
|
===================================================================
|
2011-02-15 14:04:22 +01:00
|
|
|
--- wireshark-1.4.3.orig/epan/wslua/template-init.lua
|
|
|
|
+++ wireshark-1.4.3/epan/wslua/template-init.lua
|
2010-12-08 18:31:25 +01:00
|
|
|
@@ -42,7 +42,7 @@ if running_superuser then
|
|
|
|
local disabled_lib = {}
|
|
|
|
setmetatable(disabled_lib,{ __index = function() error("this package has been disabled") end } );
|
|
|
|
|
|
|
|
- dofile = function() error("dofile has been disabled") end
|
|
|
|
+-- dofile = function() error("dofile has been disabled") end
|
|
|
|
loadfile = function() error("loadfile has been disabled") end
|
|
|
|
loadlib = function() error("loadlib has been disabled") end
|
|
|
|
require = function() error("require has been disabled") end
|