summaryrefslogtreecommitdiff
path: root/main/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/dns.c')
-rw-r--r--main/dns.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/dns.c b/main/dns.c
index 52a4b8ddb..bb7827226 100644
--- a/main/dns.c
+++ b/main/dns.c
@@ -222,8 +222,7 @@ int ast_search_dns(void *context,
ret = -1;
}
else if (ret == 0) {
- if (option_debug)
- ast_log(LOG_DEBUG, "No matches found in DNS for %s\n", dname);
+ ast_debug(1, "No matches found in DNS for %s\n", dname);
ret = 0;
}
else