modules/admin-full: remove some cruft from routes model
This commit is contained in:
parent
128ba2828a
commit
838fa54541
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue