luci-0.8: merge r4723
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 29 May 2009 23:04:21 +0000 (23:04 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 29 May 2009 23:04:21 +0000 (23:04 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua

index 303757334bcbe2cbbb49fa4af1fff2539c61894e..b9e65fb8899db7178e0e1857007c0ee3a5542624 100644 (file)
@@ -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"))