Module: sip-router
Branch: sr_3.0
Commit: 67b7508a1c8964abbf55f3f09363a45f8aa871f8
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=67b7508…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Thu Nov 5 15:13:36 2009 +0100
domainpolicy: use set_force_socket()
- use set_force_socket() instead of msg->force_send_socket
---
modules_k/domainpolicy/domainpolicy.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/domainpolicy/domainpolicy.c
b/modules_k/domainpolicy/domainpolicy.c
index ee8cc29..f77095e 100644
--- a/modules_k/domainpolicy/domainpolicy.c
+++ b/modules_k/domainpolicy/domainpolicy.c
@@ -850,7 +850,7 @@ int dp_apply_policy(struct sip_msg* _msg, char* _s1, char* _s2) {
}
si = grep_sock_info( &host, (unsigned short) port, (unsigned short) proto);
if (si) {
- _msg->force_send_socket = si;
+ set_force_socket(_msg, si);
} else {
LM_WARN("could not find socket for"
"send_socket '%.*s'\n", val.s.len, ZSW(val.s.s));