about summary refs log tree commit diff
path: root/src/libnm-core-impl/nm-setting-ovs-interface.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2024-08-09 18:57:26 +0200
committerMichael Biebl <biebl@debian.org>2024-08-09 18:57:26 +0200
commit5ebc16389d33662f712e49a8d5f3445f6b34ca05 (patch)
treeaf14aec1d1271903e73ef2b45d6b9c6d6c188f44 /src/libnm-core-impl/nm-setting-ovs-interface.c
parentf07580d7a481ecbc1e90033b7fa5607e0ab2d051 (diff)
parente96d74409128c6a977e31f24fad9b267d2feb9a1 (diff)
Update upstream source from tag 'upstream/1.48.8'
Update to upstream version '1.48.8'
with Debian dir b9f8c1b806c3088cd4a6040531628e5352ccb2ee
Diffstat (limited to 'src/libnm-core-impl/nm-setting-ovs-interface.c')
-rw-r--r--src/libnm-core-impl/nm-setting-ovs-interface.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libnm-core-impl/nm-setting-ovs-interface.c b/src/libnm-core-impl/nm-setting-ovs-interface.c
index 47c73665..22b3bf9e 100644
--- a/src/libnm-core-impl/nm-setting-ovs-interface.c
+++ b/src/libnm-core-impl/nm-setting-ovs-interface.c
@@ -296,7 +296,7 @@ verify(NMSetting *setting, NMConnection *connection, GError **error)
     NMSettingConnection   *s_con = NULL;
 
     if (connection) {
-        const char *slave_type;
+        const char *port_type;
 
         s_con = nm_connection_get_setting_connection(connection);
         if (!s_con) {
@@ -321,16 +321,16 @@ verify(NMSetting *setting, NMConnection *connection, GError **error)
             return FALSE;
         }
 
-        slave_type = nm_setting_connection_get_port_type(s_con);
-        if (slave_type && !nm_streq(slave_type, NM_SETTING_OVS_PORT_SETTING_NAME)) {
+        port_type = nm_setting_connection_get_port_type(s_con);
+        if (port_type && !nm_streq(port_type, NM_SETTING_OVS_PORT_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_OVS_INTERFACE_SETTING_NAME,
                         NM_SETTING_OVS_PORT_SETTING_NAME,
-                        slave_type);
+                        port_type);
             g_prefix_error(error,
                            "%s.%s: ",
                            NM_SETTING_CONNECTION_SETTING_NAME,