From: Jo-Philipp Wich Date: Wed, 26 Nov 2008 23:40:34 +0000 (+0000) Subject: modules/admin-full: remove some cruft from routes model X-Git-Tag: 0.9.0~952 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=838fa54541f300b39f3805c5d22686b45fef5c3f;p=project%2Fluci.git modules/admin-full: remove some cruft from routes model --- 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 4232daf8a9..8a6ca7b746 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