mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 01:19:03 +00:00
latest changes, including a couple doug fixes
This commit is contained in:
@@ -198,7 +198,7 @@ int TargetGroup::parse_expr(const char * const target_expr, int af) {
|
||||
}
|
||||
if (netmask != 32 || namedhost) {
|
||||
targets_type = IPV4_NETMASK;
|
||||
if (!inet_aton(target_net, &(startaddr))) {
|
||||
if (!inet_pton(AF_INET, target_net, &(startaddr))) {
|
||||
if ((target = gethostbyname(target_net))) {
|
||||
int count=0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user