if (destinations == NULL || sources == NULL) {
fprintf(stderr, "Missing or empty source or destination host list. Aborting.\n");
if (destinations == NULL || sources == NULL) {
fprintf(stderr, "Missing or empty source or destination host list. Aborting.\n");