Skip to content

Commit

Permalink
Allow daemon DNS lookup of allowed hostnames
Browse files Browse the repository at this point in the history
Removed the flag that only allows numeric IP addresses for the allowed
clients. DNS lookup will only be performed if configured with
--enable-rfc2553.
  • Loading branch information
darsor authored and shawnl committed Nov 28, 2019
1 parent a7dd5cf commit 0595010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/access.c
Expand Up @@ -183,7 +183,7 @@ int dcc_parse_mask(const char *spec,
#else /* ENABLE_RFC2553 */ #else /* ENABLE_RFC2553 */


memset(&hints, 0, sizeof(hints)); memset(&hints, 0, sizeof(hints));
hints.ai_flags = AI_NUMERICHOST; hints.ai_flags = 0;
hints.ai_family = AF_UNSPEC; hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM; hints.ai_socktype = SOCK_STREAM;


Expand Down

0 comments on commit 0595010

Please sign in to comment.