Module: kamailio Branch: 5.8 Commit: f59f980d03b884f2494892eb4d007293b7ad4e34 URL: https://github.com/kamailio/kamailio/commit/f59f980d03b884f2494892eb4d007293...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2024-07-01T09:12:30+02:00
core: dns cache - check warnings made debug
(cherry picked from commit 754f9ae28c9a731fc0bfd6d08411bf0913a7dbfc)
---
Modified: src/core/dns_cache.c
---
Diff: https://github.com/kamailio/kamailio/commit/f59f980d03b884f2494892eb4d007293... Patch: https://github.com/kamailio/kamailio/commit/f59f980d03b884f2494892eb4d007293...
---
diff --git a/src/core/dns_cache.c b/src/core/dns_cache.c index 1fba5a036af..91da2592446 100644 --- a/src/core/dns_cache.c +++ b/src/core/dns_cache.c @@ -1697,7 +1697,7 @@ inline static struct dns_hash_entry *dns_get_related( LM_DBG("(%p (%.*s, %d), %d, *%p) (%d)\n", e, e->name_len, e->name, e->type, type, *records, cname_chain_len); if(l->prev != NULL || l->next != NULL) { - LM_WARN("record not alone: %p - type: %d\n", l, (int)l->type); + LM_DBG("record not alone: %p - type: %d\n", l, (int)l->type); } clist_init(l, next, prev); if(type == e->type) { @@ -2044,7 +2044,7 @@ inline static struct dns_hash_entry *dns_cache_do_request(str *name, int type) #endif end: if(e != NULL && e->prev == NULL && e->next == NULL) { - LM_WARN("record not linked: %p - type: %d\n", e, (int)e->type); + LM_DBG("record not linked: %p - type: %d\n", e, (int)e->type); } return e; }