From cdc8bd178bae74b73581f7436b14680d744fbc53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Mon, 2 Mar 2015 09:26:30 +0100 Subject: [PATCH] tui: add "Enable IGMP snooping" to bridge editor (bgo #744853) https://bugzilla.gnome.org/show_bug.cgi?id=744853 --- clients/tui/nmt-page-bridge.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/clients/tui/nmt-page-bridge.c b/clients/tui/nmt-page-bridge.c index 460be60b42..77861eafc7 100644 --- a/clients/tui/nmt-page-bridge.c +++ b/clients/tui/nmt-page-bridge.c @@ -91,6 +91,12 @@ nmt_page_bridge_constructed (GObject *object) label = nmt_newt_label_new (_("seconds")); nmt_editor_grid_append (grid, _("Aging time"), widget, label); + widget = stp = nmt_newt_checkbox_new (_("Enable IGMP snooping")); + g_object_bind_property (s_bridge, NM_SETTING_BRIDGE_MULTICAST_SNOOPING, + widget, "active", + G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE); + nmt_editor_grid_append (grid, NULL, widget, NULL); + widget = stp = nmt_newt_checkbox_new (_("Enable STP (Spanning Tree Protocol)")); g_object_bind_property (s_bridge, NM_SETTING_BRIDGE_STP, widget, "active",