summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-05-29 23:03:15 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-05-29 23:03:15 +0000
commit242f8edabf7e314d5403904157af18d1131f6599 (patch)
treee1ce993bbfbab7f9136a83e353f3e688774f9892 /modules
parent49b494bb64ecb4731bbb02ef47aa4e2925dc1058 (diff)
modules/admin-full: fix cbi dependency of stp flag
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua2
1 files changed, 1 insertions, 1 deletions
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 303757334b..b9e65fb889 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"))