summaryrefslogtreecommitdiff
path: root/src/connection-editor/nm-connection-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection-editor/nm-connection-editor.c')
-rw-r--r--src/connection-editor/nm-connection-editor.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/connection-editor/nm-connection-editor.c b/src/connection-editor/nm-connection-editor.c
index be211f2c..7d101e27 100644
--- a/src/connection-editor/nm-connection-editor.c
+++ b/src/connection-editor/nm-connection-editor.c
@@ -61,6 +61,7 @@
#include "page-bridge-port.h"
#include "page-vlan.h"
#include "page-dcb.h"
+#include "page-macsec.h"
#include "ce-polkit-button.h"
#include "vpn-helpers.h"
#include "eap-method.h"
@@ -1035,6 +1036,11 @@ nm_connection_editor_set_connection (NMConnectionEditor *editor,
} else if (!strcmp (connection_type, NM_SETTING_VLAN_SETTING_NAME)) {
if (!add_page (editor, ce_page_vlan_new, editor->connection, error))
goto out;
+ } else if (!strcmp (connection_type, NM_SETTING_MACSEC_SETTING_NAME)) {
+ if (!add_page (editor, ce_page_macsec_new, editor->connection, error))
+ goto out;
+ if (!add_page (editor, ce_page_8021x_security_new, editor->connection, error))
+ goto out;
} else {
g_warning ("Unhandled setting type '%s'", connection_type);
}