741f2c3028
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/nmap.git#29fdaff88f7f7d6bb4b2e3dce8f086a08c2f03db
13 lines
318 B
Diff
13 lines
318 B
Diff
diff --git a/ncat/ncat_core.c b/ncat/ncat_core.c
|
|
index b76d5ea..9f0b0cf 100644
|
|
--- a/ncat/ncat_core.c
|
|
+++ b/ncat/ncat_core.c
|
|
@@ -289,6 +289,7 @@ int resolve(const char *hostname, unsigned short port,
|
|
int result;
|
|
|
|
flags = 0;
|
|
+ flags |= AI_ADDRCONFIG;
|
|
if (o.nodns)
|
|
flags |= AI_NUMERICHOST;
|
|
|