libs/sys: workaround broken entries in /proc/net/ipv6_route, observed on brcm-2.4
[project/luci.git] / libs / core / luasrc / init.lua
index 81a65b1..4d66e86 100644 (file)
@@ -26,9 +26,14 @@ limitations under the License.
 
 local require = require
 
+-- Make sure that bitlib is loaded
+if not _G.bit then
+       _G.bit = require "bit"
+end
+
 module "luci"
 
 local v = require "luci.version"
 
-__version__ = v.luciversion or "0.9"
+__version__ = v.luciversion or "trunk"
 __appname__ = v.luciname    or "LuCI"