Module: kamailio
Branch: master
Commit: 8c3b5ab3818c86b90b02e20aa4631654e0b51745
URL: 
https://github.com/kamailio/kamailio/commit/8c3b5ab3818c86b90b02e20aa4631654e0b51745

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2024-07-18T09:09:01+02:00

dispatcher: remove reference to MI in comments

---

Modified: src/modules/dispatcher/dispatch.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/8c3b5ab3818c86b90b02e20aa4631654e0b51745.diff
Patch: 
https://github.com/kamailio/kamailio/commit/8c3b5ab3818c86b90b02e20aa4631654e0b51745.patch

---

diff --git a/src/modules/dispatcher/dispatch.c 
b/src/modules/dispatcher/dispatch.c
index 287164f829d..bdb615ad3ea 100644
--- a/src/modules/dispatcher/dispatch.c
+++ b/src/modules/dispatcher/dispatch.c
@@ -3982,14 +3982,14 @@ static void ds_options_callback(
                }
        }
 
-       /* Check if in the meantime someone disabled probing of the target 
through RPC, MI or reload */
+       /* Check if in the meantime someone disabled probing of the target
+        * through RPC or reload */
        if(ds_probing_mode == DS_PROBE_ONLYFLAGGED
                        && !(ds_get_state(group, &uri) & DS_PROBING_DST)) {
                return;
        }
 
        /* ps->code contains the result-code of the request.
-        *
         * We accept both a "200 OK" or the configured reply as a valid 
response */
        if((ps->code >= 200 && ps->code <= 299)
                        || ds_ping_check_rplcode(ps->code)) {
@@ -4000,7 +4000,7 @@ static void ds_options_callback(
                                                && (ds_get_state(group, &uri) & 
DS_PROBING_DST)))
                        state |= DS_PROBING_DST;
 
-               /* Check if in the meantime someone disabled the target through 
RPC or MI */
+               /* Check if in the meantime someone disabled the target through 
RPC */
                if(!(ds_get_state(group, &uri) & DS_DISABLED_DST)
                                && ds_update_state(fmsg, group, &uri, state, 
&rctx) != 0) {
                        LM_ERR("Setting the state failed (%.*s, group %d)\n", 
uri.len,
@@ -4010,7 +4010,7 @@ static void ds_options_callback(
                state = DS_TRYING_DST;
                if(ds_probing_mode != DS_PROBE_NONE)
                        state |= DS_PROBING_DST;
-               /* Check if in the meantime someone disabled the target through 
RPC or MI */
+               /* Check if in the meantime someone disabled the target through 
RPC */
                if(!(ds_get_state(group, &uri) & DS_DISABLED_DST)
                                && ds_update_state(fmsg, group, &uri, state, 
&rctx) != 0) {
                        LM_ERR("Setting the probing state failed (%.*s, group 
%d)\n",

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

Reply via email to