Module: kamailio Branch: master Commit: 5f29b4491634c360ade5691977d622617ae014ad URL: https://github.com/kamailio/kamailio/commit/5f29b4491634c360ade5691977d62261...
Author: Stefan Mititelu stefan.mititelu@net2phone.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2025-02-21T08:44:12+01:00
dispatcher: skip ping for DS_NODNSARES_DST
---
Modified: src/modules/dispatcher/dispatch.c
---
Diff: https://github.com/kamailio/kamailio/commit/5f29b4491634c360ade5691977d62261... Patch: https://github.com/kamailio/kamailio/commit/5f29b4491634c360ade5691977d62261...
---
diff --git a/src/modules/dispatcher/dispatch.c b/src/modules/dispatcher/dispatch.c index 9968eab5537..fb0e233df7c 100644 --- a/src/modules/dispatcher/dispatch.c +++ b/src/modules/dispatcher/dispatch.c @@ -4114,6 +4114,9 @@ void ds_ping_set(ds_set_t *node) /* skip addresses with no-ping flag */ if((node->dlist[j].flags & DS_NOPING_DST) != 0) continue; + /* skip addresses with no-DNS-A flag */ + if((node->dlist[j].flags & DS_NODNSARES_DST) != 0) + continue; /* If the Flag of the entry has "Probing set, send a probe: */ if(ds_ping_result_helper(node, j)) { LM_DBG("probing set #%d, URI %.*s\n", node->id,