Module: sip-router Branch: master Commit: be0f77ec7fa86f9387393609fbdffafd65a1afe3 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=be0f77ec...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Sun Dec 23 19:32:03 2012 +0100
registrar(k): use only pre-existing branches in lookup_branches()
---
modules_k/registrar/lookup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/registrar/lookup.c b/modules_k/registrar/lookup.c index f98887a..e3553db 100644 --- a/modules_k/registrar/lookup.c +++ b/modules_k/registrar/lookup.c @@ -387,7 +387,7 @@ int lookup_branches(sip_msg_t *msg, udomain_t *d) ruri_b_reg_id = msg->reg_id; reset_ruri_branch(msg);
- for(i=0; i<nr_branches; i++) { + for(i=0; i<nr_branches_start; i++) { crt = get_sip_branch(i); /* it has to be a clean branch to do lookup for it */ if(crt->len <= 0 || crt->dst_uri_len > 0