From: Christian Schoenebeck Date: Sun, 8 Feb 2015 18:17:09 +0000 (+0100) Subject: admin_network: interface details, implement back to overview X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9132d83461c7f64f11b8dabdf8b71646c5369ef8;p=oweals%2Fluci.git admin_network: interface details, implement back to overview Implements "Back to Overview" on interface details page Signed-off-by: Christian Schoenebeck --- diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua index eabb25768..c2e5c7228 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua @@ -14,6 +14,7 @@ local has_dnsmasq = fs.access("/etc/config/dhcp") local has_firewall = fs.access("/etc/config/firewall") m = Map("network", translate("Interfaces") .. " - " .. arg[1]:upper(), translate("On this page you can configure the network interfaces. You can bridge several interfaces by ticking the \"bridge interfaces\" field and enter the names of several network interfaces separated by spaces. You can also use VLAN notation INTERFACE.VLANNR (e.g.: eth0.1).")) +m.redirect = luci.dispatcher.build_url("admin", "network", "network") m:chain("wireless") if has_firewall then