Skip to content

Commit

Permalink
Revert "tm: set send socket flag when computing the destination and l…
Browse files Browse the repository at this point in the history
…ocal socket is found"

This reverts commit 8d608d1.
  • Loading branch information
miconda committed Mar 2, 2020
1 parent 66e33a0 commit e16ba9f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/modules/tm/ut.h
Expand Up @@ -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));
Expand All @@ -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;
}
Expand Down

0 comments on commit e16ba9f

Please sign in to comment.