From: Steven Barth Date: Tue, 3 Jun 2014 08:51:33 +0000 (+0000) Subject: Allow toggling local IPv6 addressmanagement X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=07109bb3f3df83b789756c38a5ac9ebb389afeec;p=oweals%2Fluci.git Allow toggling local IPv6 addressmanagement --- diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua index cdd1c133e..247ddbfba 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua @@ -227,6 +227,9 @@ end auto = s:taboption("advanced", Flag, "auto", translate("Bring up on boot")) auto.default = (net:proto() == "none") and auto.disabled or auto.enabled +delegate = s:taboption("advanced", Flag, "delegate", translate("Use builtin IPv6-management")) +delegate.default = delegate.enabled + if not net:is_virtual() then br = s:taboption("physical", Flag, "type", translate("Bridge interfaces"), translate("creates a bridge over specified interface(s)"))