git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
49b494b
)
modules/admin-full: fix cbi dependency of stp flag
author
Jo-Philipp Wich
<redacted>
Fri, 29 May 2009 23:03:15 +0000
(23:03 +0000)
committer
Jo-Philipp Wich
<redacted>
Fri, 29 May 2009 23:03:15 +0000
(23:03 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
patch
|
blob
|
history
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 303757334bcbe2cbbb49fa4af1fff2539c61894e..b9e65fb8899db7178e0e1857007c0ee3a5542624 100644
(file)
--- 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"))
git clone https://git.99rst.org/PROJECT