handlers.c (eucalyptus-4.4.1) | : | handlers.c (eucalyptus-4.4.2) | ||
---|---|---|---|---|
skipping to change at line 3088 | skipping to change at line 3088 | |||
euca_strncpy(dst->stateName, src->state, 16); | euca_strncpy(dst->stateName, src->state, 16); | |||
euca_strncpy(dst->migration_src, src->migration_src, HOSTNAME_LEN); | euca_strncpy(dst->migration_src, src->migration_src, HOSTNAME_LEN); | |||
euca_strncpy(dst->migration_dst, src->migration_dst, HOSTNAME_LEN); | euca_strncpy(dst->migration_dst, src->migration_dst, HOSTNAME_LEN); | |||
dst->launchTime = src->ts; | dst->launchTime = src->ts; | |||
dst->migration_state = src->migration_state; | dst->migration_state = src->migration_state; | |||
memcpy(&(dst->ncnet), &(src->ncnet), sizeof(netConfig)); | memcpy(&(dst->ncnet), &(src->ncnet), sizeof(netConfig)); | |||
for(i = 0; (i < src->secNetCfgsSize && i < EUCA_MAX_NICS); i++) { | for(i = 0; (i < src->secNetCfgsSize && i < EUCA_MAX_NICS); i++) { | |||
if(strlen(src->secNetCfgs[i].interfaceId) == 0) | if(strlen(src->secNetCfgs[i].interfaceId) == 0) | |||
break; | break; | |||
memcpy(&(dst->secNetCfgs[i]), &(src->secNetCfgs), sizeof(netConfig)); | memcpy(&(dst->secNetCfgs[i]), &(src->secNetCfgs[i]), sizeof(netConfig)); | |||
} | } | |||
for (i = 0; i < 64; i++) { | for (i = 0; i < 64; i++) { | |||
snprintf(dst->groupNames[i], 64, "%s", src->groupNames[i]); | snprintf(dst->groupNames[i], 64, "%s", src->groupNames[i]); | |||
} | } | |||
memcpy(dst->volumes, src->volumes, sizeof(ncVolume) * EUCA_MAX_VOLUMES); | memcpy(dst->volumes, src->volumes, sizeof(ncVolume) * EUCA_MAX_VOLUMES); | |||
for (i = 0; i < EUCA_MAX_VOLUMES; i++) { | for (i = 0; i < EUCA_MAX_VOLUMES; i++) { | |||
if (strlen(dst->volumes[i].volumeId) == 0) | if (strlen(dst->volumes[i].volumeId) == 0) | |||
break; | break; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |