summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-10-24 21:30:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-10-24 21:30:17 +0000
commit253a61ad8005a12f8b2406bef0d5bf152779b0fc (patch)
treedfa93820b0ae4bf8ce91c9598fce316cdcc1be27
parentc276cba24651206415114e51f74455c5c9afdf96 (diff)
* luci/modules/admin-full: make custom dns servers selectable for any interface protocol
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua1
1 files changed, 0 insertions, 1 deletions
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 ad2631798..acecee0ca 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
@@ -131,7 +131,6 @@ ip6gw:depends("proto", "static")
ip6gw.optional = true
dns = s:option(Value, "dns", translate("dnsserver"))
-dns:depends("proto", "static")
dns.optional = true
mtu = s:option(Value, "mtu", "MTU")