git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
128ba28
)
modules/admin-full: remove some cruft from routes model
author
Jo-Philipp Wich
<redacted>
Wed, 26 Nov 2008 23:40:34 +0000
(23:40 +0000)
committer
Jo-Philipp Wich
<redacted>
Wed, 26 Nov 2008 23:40:34 +0000
(23:40 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
patch
|
blob
|
history
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 4232daf8a926954d26bd701487c4e028704d5cef..8a6ca7b746024e6c15441a7da345fb8344ff4cbe 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT