about summary refs log tree commit diff
path: root/src/nm-config.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2020-02-19 23:32:13 +0100
committerMichael Biebl <biebl@debian.org>2020-02-19 23:32:13 +0100
commit3c2c324f025086dfdd40e2ec9f6db0643625c1de (patch)
tree4efeae8faed34c747189f71b1129d67c3fe8bbf4 /src/nm-config.c
parentbc4ff7bc667094c9450d8a34abe552886c4b1f73 (diff)
parente536d40eaea5dcdc0743b0a5e8e17faa46608a50 (diff)
Update upstream source from tag 'upstream/1.22.8'
Update to upstream version '1.22.8'
with Debian dir 692c834c9a0433e17bbad56345902291f4c31d2a
Diffstat (limited to 'src/nm-config.c')
-rw-r--r--src/nm-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-config.c b/src/nm-config.c
index a7bb3503..a0995cf9 100644
--- a/src/nm-config.c
+++ b/src/nm-config.c
@@ -430,7 +430,7 @@ nm_config_set_no_auto_default_for_device (NMConfig *self, NMDevice *device)
 		 *
 		 * Instead, try the interface-name...  */
 		ifname = nm_device_get_ip_iface (device);
-		if (!nm_utils_is_valid_iface_name (ifname, NULL))
+		if (!nm_utils_ifname_valid_kernel (ifname, NULL))
 			return;
 
 		spec_to_free = g_strdup_printf (NM_MATCH_SPEC_INTERFACE_NAME_TAG"=%s", ifname);