summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vpnbypass/luasrc/model
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2018-04-07 04:14:58 -0700
committerStan Grishin <stangri@melmac.net>2018-04-07 04:14:58 -0700
commit7d87297e17643bfec6c65a367e779de8c4653eca (patch)
tree9f12a74bee59cac96f79031a8d65b3cc2c38913f /applications/luci-app-vpnbypass/luasrc/model
parent5c31937a0f0bf8fa2f0161cadae9688fff9c227e (diff)
luci-app-advanced-reboot & luci-app-vpnbypass: fix uci require for master
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-vpnbypass/luasrc/model')
-rw-r--r--applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua b/applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua
index 9d2f5f425c..18fbeaaf41 100644
--- a/applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua
+++ b/applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua
@@ -1,5 +1,7 @@
readmeURL = "https://github.com/openwrt/packages/blob/master/net/vpnbypass/files/README.md"
+uci = require "uci"
+
m = Map("vpnbypass", translate("VPN Bypass Settings"))
s = m:section(NamedSection, "config", "vpnbypass")