[sr-dev] git:master: core: no 2nd via log message set to info level

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 20 17:44:43 CEST 2010


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Sep 20 17:43:38 2010 +0200

core: no 2nd via log message set to info level

- replies to self requests have no 2nd via

---

 forward.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/forward.c b/forward.c
index c071416..9e675da 100644
--- a/forward.c
+++ b/forward.c
@@ -754,7 +754,7 @@ int forward_reply(struct sip_msg* msg)
 		|| (msg->via2==0) || (msg->via2->error!=PARSE_OK))
 	{
 		/* no second via => error */
-		LOG(L_ERR, "ERROR: forward_reply: no 2nd via found in reply\n");
+		LOG(L_INFO, "broken reply to forward - no 2nd via\n");
 		goto error;
 	}
 




More information about the sr-dev mailing list