From: Jo-Philipp Wich Date: Fri, 29 May 2009 23:03:15 +0000 (+0000) Subject: modules/admin-full: fix cbi dependency of stp flag X-Git-Tag: 0.9.0~280 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=242f8edabf7e314d5403904157af18d1131f6599;p=oweals%2Fluci.git modules/admin-full: fix cbi dependency of stp flag --- 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 303757334..b9e65fb88 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua @@ -53,7 +53,7 @@ br.rmempty = true stp = s:option(Flag, "stp", translate("a_n_i_stp"), translate("a_n_i_stp1", "Enables the Spanning Tree Protocol on this bridge")) -stp:depends("type", "bridge") +stp:depends("type", "1") stp.rmempty = true ifname = s:option(Value, "ifname", translate("interface"))