Browse Source

Revert "tm: set send socket flag when computing the destination and local socket is found"

This reverts commit 8d608d1c3ed0fe4c69cb02868b746cd0497dd1f5.
Daniel-Constantin Mierla 5 years ago
parent
commit
dd6e2fd774
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/modules/tm/ut.h

+ 0 - 3
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;
 }