fatal("Could not determine what interface to route packets through, run again with -e <device>");
} else {
error("WARNING: Could not determine what interface to route packets through to %s, changing ping scantype to ICMP only", inet_ntoa(hs->hostbatch[hidx].host));
o.pingtype = PINGTYPE_ICMP;
}
} else {
strcpy(hs->hostbatch[hidx].device, device);
}
}
}
/* In some cases, we can only allow hosts that use the same device
snprintf(filter, sizeof(filter), "(icmp and dst host %s) or (tcp and dst host %s and ( dst port %d or dst port %d or dst port %d or dst port %d or dst port %d))",