summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2015-03-02 09:26:30 +0100
committerJiří Klimeš <jklimes@redhat.com>2015-03-02 09:26:30 +0100
commitcdc8bd178bae74b73581f7436b14680d744fbc53 (patch)
tree22f6da1ac56023ab0d84a60638111d343710bd9f
parent2c96ac73be253f251a0dd48db66d30cb6bb69e8a (diff)
downloadNetworkManager-cdc8bd178bae74b73581f7436b14680d744fbc53.tar.gz
tui: add "Enable IGMP snooping" to bridge editor (bgo #744853)
https://bugzilla.gnome.org/show_bug.cgi?id=744853
-rw-r--r--clients/tui/nmt-page-bridge.c6
1 files changed, 6 insertions, 0 deletions
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",