Module: kamailio
Branch: master
Commit: 754f9ae28c9a731fc0bfd6d08411bf0913a7dbfc
URL: 
https://github.com/kamailio/kamailio/commit/754f9ae28c9a731fc0bfd6d08411bf0913a7dbfc

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2024-06-26T07:22:38+02:00

core: dns cache - check warnings made debug

---

Modified: src/core/dns_cache.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/754f9ae28c9a731fc0bfd6d08411bf0913a7dbfc.diff
Patch: 
https://github.com/kamailio/kamailio/commit/754f9ae28c9a731fc0bfd6d08411bf0913a7dbfc.patch

---

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;
 }

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to