projects
/
sip-router
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2111a60
)
tm: copy branch flags in the new branch created by the dns failover
author
Daniel-Constantin Mierla
<miconda@gmail.com>
Wed, 19 Jul 2017 09:12:32 +0000
(11:12 +0200)
committer
Daniel-Constantin Mierla
<miconda@gmail.com>
Wed, 19 Jul 2017 09:12:32 +0000
(11:12 +0200)
src/modules/tm/t_fwd.c
patch
|
blob
|
history
diff --git
a/src/modules/tm/t_fwd.c
b/src/modules/tm/t_fwd.c
index
64d1036
..
ac55e3a
100644
(file)
--- a/
src/modules/tm/t_fwd.c
+++ b/
src/modules/tm/t_fwd.c
@@
-1018,6
+1018,8
@@
int add_uac_dns_fallback(struct cell *t, struct sip_msg* msg,
t->uac[t->nr_of_outgoings].on_failure = old_uac->on_failure;
t->uac[t->nr_of_outgoings].on_reply = old_uac->on_reply;
t->uac[t->nr_of_outgoings].on_branch_failure = old_uac->on_branch_failure;
+ /* copy branch flags */
+ t->uac[t->nr_of_outgoings].branch_flags = old_uac->branch_flags;
if (cfg_get(tm, tm_cfg, reparse_on_dns_failover)){
/* Reuse the old buffer and only replace the via header.