diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-05-02 16:31:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-02 16:31:27 +0200 |
commit | 8335997df5e103a9a8d9f06f0b514e809fb729b7 (patch) | |
tree | cf772e1a9224eb905f03dca43bbbd7c5fc9e4094 | |
parent | fa2975d7c5ccc111057d0803ca59f1cef186bf28 (diff) | |
parent | 6c5bfff53c7736c50238576a2c3a746b887c7a10 (diff) |
Merge pull request #1705 from Mushoz/add-igmp-snooping
luci-mod-admin-full: add igmp snooping option
-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 |