summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorPaul Belanger <paul.belanger@polybeacon.com>2010-07-09 19:21:27 +0000
committerPaul Belanger <paul.belanger@polybeacon.com>2010-07-09 19:21:27 +0000
commitd2872c60e4e0dc3c71f309782c3ab9e1d94cb7b3 (patch)
treeeef1cb1ef95aa98dfb484ace10612a238955d64a /channels/chan_sip.c
parentd6011adab42049f4681b538b455c45bf7f782cd7 (diff)
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: https://origsvn.digium.com/svn/asterisk/trunk@275249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-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 a93dea2b8..2abec0b2b 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -12927,7 +12927,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);