aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-09 19:23:19 +0000
committerpabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-09 19:23:19 +0000
commitb04496c4f9b353ec4db5e3719bc95ddf8d01121e (patch)
tree8526d5e252681b58f217da73afdd417f97d1c524
parent3e7b349d015bc6ca8d301da04f706ce748c80857 (diff)
Merged revisions 275249 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r275249 | pabelanger | 2010-07-09 15:21:27 -0400 (Fri, 09 Jul 2010) | 15 lines Merged revisions 275241 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r275241 | pabelanger | 2010-07-09 15:20:00 -0400 (Fri, 09 Jul 2010) | 8 lines Fix logging message for stale nonce. (closes issue #17582) Reported by: kenner Patches: chan_sip.c.diff uploaded by kenner (license 1040) Tested by: lmadsen ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@275260 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 0d37cfc07..94d0c7fb9 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -12777,7 +12777,7 @@ static enum check_auth_result check_auth(struct sip_pvt *p, struct sip_request *
if (wrongnonce) {
if (good_response) {
if (sipdebug)
- ast_log(LOG_NOTICE, "Correct auth, but based on stale nonce received from '%s'\n", get_header(req, "To"));
+ ast_log(LOG_NOTICE, "Correct auth, but based on stale nonce received from '%s'\n", get_header(req, "From"));
/* We got working auth token, based on stale nonce . */
set_nonce_randdata(p, 0);
transmit_response_with_auth(p, response, req, p->randdata, reliable, respheader, TRUE);