[sr-dev] git:sr_3.0: tmx: pv_t_copy_msg: copy also the send flags

Andrei Pelinescu-Onciul andrei at iptel.org
Thu Nov 5 15:20:47 CET 2009


Module: sip-router
Branch: sr_3.0
Commit: 2c3aaa7aad0907a23e7f5d5bb3e743d25f734faf
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2c3aaa7aad0907a23e7f5d5bb3e743d25f734faf

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Thu Nov  5 15:19:29 2009 +0100

tmx: pv_t_copy_msg: copy also the send flags

---

 modules_k/tmx/t_var.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules_k/tmx/t_var.c b/modules_k/tmx/t_var.c
index e54e99f..6441763 100644
--- a/modules_k/tmx/t_var.c
+++ b/modules_k/tmx/t_var.c
@@ -52,6 +52,8 @@ int pv_t_copy_msg(struct sip_msg *src, struct sip_msg *dst)
 	dst->set_global_address=src->set_global_address;
 	dst->set_global_port=src->set_global_port;
 	dst->flags = src->flags;
+	dst->fwd_send_flags = src->fwd_send_flags;
+	dst->rpl_send_flags = src->rpl_send_flags;
 	dst->force_send_socket = src->force_send_socket;
 
 	if (parse_msg(dst->buf, dst->len, dst)!=0)




More information about the sr-dev mailing list