summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-16 08:47:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-16 08:47:43 +0000
commit4be1360c63606f237f016e631b118c860383e9e6 (patch)
tree12ff57fb8ef25202b43d27781de726d1f37a19c6
parent8cc7a34d31da465150f982b038ed18ea1d4e97ac (diff)
protocols/core: remove bogus dependency from metric option of dhcp configuration
-rw-r--r--protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua b/protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua
index 8b2596c69..5b22b8c85 100644
--- a/protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua
+++ b/protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua
@@ -70,7 +70,6 @@ metric = section:taboption("advanced", Value, "metric",
metric.placeholder = "0"
metric.datatype = "uinteger"
-metric:depends("gateway", "1")
clientid = section:taboption("advanced", Value, "clientid",