Module: kamailio
Branch: 5.3
Commit: e16ba9fe6b9e1a4c70b42c5822c7a05051da88c0
URL:
https://github.com/kamailio/kamailio/commit/e16ba9fe6b9e1a4c70b42c5822c7a05…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-03-02T09:02:33+01:00
Revert "tm: set send socket flag when computing the destination and local socket is
found"
This reverts commit 8d608d1c3ed0fe4c69cb02868b746cd0497dd1f5.
---
Modified: src/modules/tm/ut.h
---
Diff:
https://github.com/kamailio/kamailio/commit/e16ba9fe6b9e1a4c70b42c5822c7a05…
Patch:
https://github.com/kamailio/kamailio/commit/e16ba9fe6b9e1a4c70b42c5822c7a05…
---
diff --git a/src/modules/tm/ut.h b/src/modules/tm/ut.h
index 98aaffa549..41e69c407f 100644
--- a/src/modules/tm/ut.h
+++ b/src/modules/tm/ut.h
@@ -296,7 +296,6 @@ inline static struct dest_info *uri2dst2(struct dest_info* dst,
dst->proto, 0);
if (dst->send_sock){
dst->to=to;
- dst->send_flags.f |= SND_F_FORCE_SOCKET;
return dst; /* found a good one */
}
}while(dns_srv_handle_next(dns_h, err));
@@ -318,8 +317,6 @@ inline static struct dest_info *uri2dst2(struct dest_info* dst,
proto2a(dst->proto), su2a(&dst->to, sizeof(dst->to)));
/* ser_error = E_NO_SOCKET;*/
/* try to continue */
- } else {
- dst->send_flags.f |= SND_F_FORCE_SOCKET;
}
return dst;
}