From 686de0fbec7d31cb6ae60531a87618b65a5dc0be Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 22 Jan 2013 10:44:28 +0000 Subject: move dhcpv6 support into luci-proto-6x4, rename luci-proto-6x4 to luci-proto-ipv6 --- libs/core/luasrc/model/network.lua | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libs/core/luasrc') diff --git a/libs/core/luasrc/model/network.lua b/libs/core/luasrc/model/network.lua index f251411ec7..09a58d7424 100644 --- a/libs/core/luasrc/model/network.lua +++ b/libs/core/luasrc/model/network.lua @@ -749,8 +749,6 @@ function protocol.get_i18n(self) return lng.translate("Static address") elseif p == "dhcp" then return lng.translate("DHCP client") - elseif p == "dhcpv6" then - return lng.translate("DHCPv6 client") else return lng.translate("Unknown") end @@ -1548,15 +1546,8 @@ end -- setup base protocols _M:register_protocol("static") _M:register_protocol("dhcp") - -local dhcpv6 = _M:register_protocol("dhcpv6") -function dhcpv6.is_installed(self) - return nfs.access("/lib/netifd/proto/dhcpv6.sh") -end - _M:register_protocol("none") - -- load protocol extensions local exts = nfs.dir(utl.libpath() .. "/model/network") if exts then -- cgit v1.2.3