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:
7161284
)
luc-mod-admin-full: add igmp snooping option
author
Jaap Buurman
<redacted>
Wed, 28 Mar 2018 13:41:45 +0000
(15:41 +0200)
committer
Jaap Buurman
<redacted>
Wed, 28 Mar 2018 13:59:29 +0000
(15:59 +0200)
Signed-off-by: Jaap Buurman <redacted>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua
patch
|
blob
|
history
diff --git
a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua
b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua
index 8e7a3b06678adf874246948f953fac5ffc273d8b..38e5de7b39be75fad648db060b61c50c93917ac9 100644
(file)
--- a/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua
+++ b/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua
@@
-272,6
+272,11
@@
if not net:is_virtual() then
translate("Enables the Spanning Tree Protocol on this bridge"))
stp:depends("type", "bridge")
stp.rmempty = true
+
+ igmp = s:taboption("physical", Flag, "igmp_snooping", translate("Enable <abbr title=\"Internet Group Management Protocol\">IGMP</abbr> snooping"),
+ translate("Enables IGMP snooping on this bridge"))
+ igmp:depends("type", "bridge")
+ igmp.rmempty = true
end
git clone https://git.99rst.org/PROJECT