modules/admin-full: fix cbi dependency of stp flag

This commit is contained in:
Jo-Philipp Wich 2009-05-29 23:03:15 +00:00
parent 49b494bb64
commit 242f8edabf

View file

@ -53,7 +53,7 @@ br.rmempty = true
stp = s:option(Flag, "stp", translate("a_n_i_stp"), stp = s:option(Flag, "stp", translate("a_n_i_stp"),
translate("a_n_i_stp1", "Enables the Spanning Tree Protocol on this bridge")) translate("a_n_i_stp1", "Enables the Spanning Tree Protocol on this bridge"))
stp:depends("type", "bridge") stp:depends("type", "1")
stp.rmempty = true stp.rmempty = true
ifname = s:option(Value, "ifname", translate("interface")) ifname = s:option(Value, "ifname", translate("interface"))