Merge pull request #1705 from Mushoz/add-igmp-snooping
authorJo-Philipp Wich <jo@mein.io>
Wed, 2 May 2018 14:31:27 +0000 (16:31 +0200)
committerGitHub <noreply@github.com>
Wed, 2 May 2018 14:31:27 +0000 (16:31 +0200)
luci-mod-admin-full: add igmp snooping option

modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua

index 8e7a3b0..38e5de7 100644 (file)
@@ -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