diff options
author | Jaap Buurman <jaapbuurman@gmail.com> | 2018-03-28 15:41:45 +0200 |
---|---|---|
committer | Jaap Buurman <jaapbuurman@gmail.com> | 2018-03-28 15:59:29 +0200 |
commit | 6c5bfff53c7736c50238576a2c3a746b887c7a10 (patch) | |
tree | d96879e989d1d9998c3019d9ae218e85c37f26ad /modules/luci-mod-admin-full/luasrc/model | |
parent | 7161284d752cca0d1cc54b68650fd570b6d2da1a (diff) |
luc-mod-admin-full: add igmp snooping option
Signed-off-by: Jaap Buurman <jaapbuurman@gmail.com>
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc/model')
-rw-r--r-- | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua | 5 |
1 files changed, 5 insertions, 0 deletions
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 8e7a3b0667..38e5de7b39 100644 --- 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 |