[asterisk-commits] file: branch group/dns r432519 - /team/group/dns/main/dns_core.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Mar 6 09:31:37 CST 2015
Author: file
Date: Fri Mar 6 09:31:36 2015
New Revision: 432519
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=432519
Log:
Fix building since nxdomain no longer exists.
Modified:
team/group/dns/main/dns_core.c
Modified: team/group/dns/main/dns_core.c
URL: http://svnview.digium.com/svn/asterisk/team/group/dns/main/dns_core.c?view=diff&rev=432519&r1=432518&r2=432519
==============================================================================
--- team/group/dns/main/dns_core.c (original)
+++ team/group/dns/main/dns_core.c Fri Mar 6 09:31:36 2015
@@ -450,7 +450,7 @@
const struct ast_dns_result *result = ast_dns_query_get_result(query);
const struct ast_dns_record *record;
- if (ast_dns_result_get_nxdomain(result)) {
+ if (ast_dns_result_get_rcode(result) == ns_r_nxdomain) {
return 0;
}
More information about the asterisk-commits
mailing list