From: Jo-Philipp Wich Date: Thu, 16 Aug 2012 08:47:43 +0000 (+0000) Subject: protocols/core: remove bogus dependency from metric option of dhcp configuration X-Git-Tag: 0.11.0~305 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4be1360c63606f237f016e631b118c860383e9e6;p=oweals%2Fluci.git protocols/core: remove bogus dependency from metric option of dhcp configuration --- 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",