Skip to content
Permalink
Browse files

Allow daemon DNS lookup of allowed hostnames

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 22, 2019
1 parent a7dd5cf commit 05950102cdde828c52fc58bebdeed530edb12f85
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/access.c
@@ -183,7 +183,7 @@ int dcc_parse_mask(const char *spec,
#else /* ENABLE_RFC2553 */

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

0 comments on commit 0595010

Please sign in to comment.
You can’t perform that action at this time.