summaryrefslogtreecommitdiff
path: root/main/acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/acl.c')
-rw-r--r--main/acl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main/acl.c b/main/acl.c
index a3d60cb0d..8d7dc4277 100644
--- a/main/acl.c
+++ b/main/acl.c
@@ -230,8 +230,6 @@ int ast_get_ip_or_srv(struct sockaddr_in *sin, const char *value, const char *se
char srv[256];
char host[256];
int tportno = ntohs(sin->sin_port);
- if (inet_aton(value, &sin->sin_addr))
- return 0;
if (service) {
snprintf(srv, sizeof(srv), "%s.%s", service, value);
if (ast_get_srv(NULL, host, sizeof(host), &tportno, srv) > 0) {