@xkaraman commented on this pull request.


> @@ -1623,7 +1623,12 @@ struct hostent *no_naptr_srv_sip_resolvehost(
                        srv_name.s = tmp_srv;
                        srv_name.len = strlen(tmp_srv);
 #ifdef USE_DNS_CACHE
-                       he = dns_srv_get_he(&srv_name, port, dns_flags);
+                       if(dns_cache_init) {
+                               he = dns_srv_get_he(&srv_name, port, dns_flags);
+                       } else {
+                               LM_WARN("USE_DNS_CACHE is defined but 
dns_cache_init=off\n");

You are right, removed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3858#discussion_r1624176413
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/3858/review/2093420...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to