protocols/core: remove bogus dependency from metric option of dhcp configuration
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 16 Aug 2012 08:47:43 +0000 (08:47 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 16 Aug 2012 08:47:43 +0000 (08:47 +0000)
protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua

index 8b2596c69b53e304e91c838f2dd54822a5275f19..5b22b8c85c309bed7581561ca982cde46e5d3c2b 100644 (file)
@@ -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",