modules/freifunk: fix typo in route6 section *sigh*
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 27 Dec 2008 00:31:42 +0000 (00:31 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 27 Dec 2008 00:31:42 +0000 (00:31 +0000)
modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua

index 14e6d56..27ffd95 100644 (file)
@@ -187,7 +187,7 @@ if #routes6 > 0 then
 
        net = v6:option(DummyValue, "iface", translate("network"))
        function net.cfgvalue(self, section)
-               return luci.tools.webadmin.iface_get_network(routes[section].device)
+               return luci.tools.webadmin.iface_get_network(routes6[section].device)
                or routes6[section].device
        end