summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-11-26 23:40:34 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-11-26 23:40:34 +0000
commit838fa54541f300b39f3805c5d22686b45fef5c3f (patch)
treedea257c9383b834f4ee453c71fab43dfb3c19504 /modules/admin-full
parent128ba2828a93ae6f5de9573bf48a117ed02c3b6a (diff)
modules/admin-full: remove some cruft from routes model
Diffstat (limited to 'modules/admin-full')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/routes.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua b/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
index 4232daf8a..8a6ca7b74 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
@@ -57,12 +57,7 @@ if not arg or not arg[1] then
function target.cfgvalue(self, section)
return routes6[section].dst_ip .. "/" .. routes6[section].dst_prefix
end
---[[
- netmask = v:option(DummyValue, "prefix", translate("prefix"))
- function netmask.cfgvalue(self, section)
- return luci.ip.Hex(routes6[section].Mask, 32):string()
- end
-]]
+
gateway = v:option(DummyValue, "gateway", translate("gateway6"))
function gateway.cfgvalue(self, section)
return routes6[section].src_ip .. "/" .. routes6[section].src_prefix