diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-01-22 10:44:28 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-01-22 10:44:28 +0000 |
commit | 686de0fbec7d31cb6ae60531a87618b65a5dc0be (patch) | |
tree | 3edcd9db6c51c1a5197445d3f5488f752d3c125a /libs/core | |
parent | a4f3f52d1c5932633be3b58996f9b719120d0717 (diff) |
move dhcpv6 support into luci-proto-6x4, rename luci-proto-6x4 to luci-proto-ipv6
Diffstat (limited to 'libs/core')
-rw-r--r-- | libs/core/luasrc/model/network.lua | 9 |
1 files changed, 0 insertions, 9 deletions
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 |