diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index d5a58f4a74..d30ab6ab8c 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -1286,7 +1286,7 @@ _get_stable_id (NMDevice *self, stable_type = nm_utils_stable_id_parse (stable_id, nm_device_get_ip_iface (self), - NULL, + nm_utils_get_boot_id_str (), uuid, &generated); diff --git a/src/nm-core-utils.c b/src/nm-core-utils.c index 436925ee26..31f9a01b25 100644 --- a/src/nm-core-utils.c +++ b/src/nm-core-utils.c @@ -2963,7 +2963,7 @@ nm_utils_stable_id_parse (const char *stable_id, if (CHECK_PREFIX ("${CONNECTION}")) _stable_id_append (str, uuid); else if (CHECK_PREFIX ("${BOOT}")) - _stable_id_append (str, bootid ?: nm_utils_get_boot_id_str ()); + _stable_id_append (str, bootid); else if (CHECK_PREFIX ("${DEVICE}")) _stable_id_append (str, deviceid); else if (g_str_has_prefix (&stable_id[i], "${RANDOM}")) {