* libs/core: Made luci.util.strip_bytecode forward-compatible to upcoming OpenWRT Lua-changes

This commit is contained in:
Steven Barth 2008-06-29 09:56:38 +00:00
parent c99752055a
commit 25089e49fd

View file

@ -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