summary refs log tree commit diff
path: root/src/libnm-core-impl/nm-setting-bridge-port.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnm-core-impl/nm-setting-bridge-port.c')
-rw-r--r--src/libnm-core-impl/nm-setting-bridge-port.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libnm-core-impl/nm-setting-bridge-port.c b/src/libnm-core-impl/nm-setting-bridge-port.c
index dcb17896..e5f0e175 100644
--- a/src/libnm-core-impl/nm-setting-bridge-port.c
+++ b/src/libnm-core-impl/nm-setting-bridge-port.c
@@ -316,7 +316,7 @@ verify(NMSetting *setting, NMConnection *connection, GError **error)
 
     if (connection) {
         NMSettingConnection *s_con;
-        const char          *slave_type;
+        const char          *port_type;
 
         s_con = nm_connection_get_setting_connection(connection);
         if (!s_con) {
@@ -328,16 +328,16 @@ verify(NMSetting *setting, NMConnection *connection, GError **error)
             return FALSE;
         }
 
-        slave_type = nm_setting_connection_get_port_type(s_con);
-        if (slave_type && strcmp(slave_type, NM_SETTING_BRIDGE_SETTING_NAME)) {
+        port_type = nm_setting_connection_get_port_type(s_con);
+        if (port_type && strcmp(port_type, NM_SETTING_BRIDGE_SETTING_NAME)) {
             g_set_error(error,
                         NM_CONNECTION_ERROR,
                         NM_CONNECTION_ERROR_INVALID_PROPERTY,
-                        _("A connection with a '%s' setting must have the slave-type set to '%s'. "
+                        _("A connection with a '%s' setting must have the port-type set to '%s'. "
                           "Instead it is '%s'"),
                         NM_SETTING_BRIDGE_PORT_SETTING_NAME,
                         NM_SETTING_BRIDGE_SETTING_NAME,
-                        slave_type);
+                        port_type);
             g_prefix_error(error,
                            "%s.%s: ",
                            NM_SETTING_CONNECTION_SETTING_NAME,