Module: sip-router
Branch: sr_3.0
Commit: fbd87475909465547dbba5cdccb5fceeca61178f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=fbd8747…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Thu Nov 5 15:12:52 2009 +0100
rr(s): use set_force_socket()
- use set_force_socket() instead of msg->force_send_socket
---
modules_s/rr/loose.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules_s/rr/loose.c b/modules_s/rr/loose.c
index 33803fe..0ba9337 100644
--- a/modules_s/rr/loose.c
+++ b/modules_s/rr/loose.c
@@ -901,9 +901,9 @@ static inline int after_loose(struct sip_msg* _m, struct sip_uri*
_pru, int _rou
LOG(L_ERR, "after_loose: Error while parsing the second route header\n");
return RR_ERROR;
}
- _m->force_send_socket = grep_sock_info(&parsed_uri.host,
- parsed_uri.port_no,
- parsed_uri.proto);
+ set_force_socket(_m, grep_sock_info(&parsed_uri.host,
+ parsed_uri.port_no,
+ parsed_uri.proto) );
if (_m->force_send_socket == 0)
LOG(L_WARN, "after_loose: send socket cannot be set"
" based on the second route header\n");