diff options
author | Steven Barth <steven@midlink.org> | 2008-06-29 09:56:38 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-29 09:56:38 +0000 |
commit | 25089e49fd75c5a9a5bcc06ade48437ce3ec10ad (patch) | |
tree | f4cac8a34a82ef91630a7035d3333ab29fc844d7 /libs | |
parent | c99752055aef7f85fbc4bd575a51e005fc0d119a (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.lua | 2 |
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 |