summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-29 09:56:38 +0000
committerSteven Barth <steven@midlink.org>2008-06-29 09:56:38 +0000
commit25089e49fd75c5a9a5bcc06ade48437ce3ec10ad (patch)
treef4cac8a34a82ef91630a7035d3333ab29fc844d7 /libs
parentc99752055aef7f85fbc4bd575a51e005fc0d119a (diff)
* libs/core: Made luci.util.strip_bytecode forward-compatible to upcoming OpenWRT Lua-changes
Diffstat (limited to 'libs')
-rw-r--r--libs/core/luasrc/util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/core/luasrc/util.lua b/libs/core/luasrc/util.lua
index 9f1d050e7..76e382b45 100644
--- a/libs/core/luasrc/util.lua
+++ b/libs/core/luasrc/util.lua
@@ -234,7 +234,7 @@ function strip_bytecode(dump)
offset = offset + size + subint(dump, offset, size)
elseif t == 3 then
offset = offset + num
- elseif t == 254 then
+ elseif t == 254 or t == 9 then
offset = offset + lnum
end
end