wireshark/wireshark-0001-enable-Lua-support.patch
Peter Lemenkov c06811f865 Ver. 1.10.3
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2013-11-02 16:44:30 +04:00

26 lines
939 B
Diff

From 9d38601b45c6bce770946ac3c36a675a2f1a4359 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Radek=20Vok=C3=A1l?= <rvokal@fedoraproject.org>
Date: Tue, 15 Dec 2009 08:36:27 +0000
Subject: [PATCH 01/13] enable Lua support
---
epan/wslua/template-init.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/epan/wslua/template-init.lua b/epan/wslua/template-init.lua
index e6ec4ae..2538c4c 100644
--- a/epan/wslua/template-init.lua
+++ b/epan/wslua/template-init.lua
@@ -43,7 +43,7 @@ if running_superuser then
local disabled_lib = {}
setmetatable(disabled_lib,{ __index = function() error("this package ".. hint) end } );
- dofile = function() error("dofile " .. hint) end
+-- dofile = function() error("dofile " .. hint) end
loadfile = function() error("loadfile " .. hint) end
loadlib = function() error("loadlib " .. hint) end
require = function() error("require " .. hint) end
--
1.8.3.1