diff options
author | pabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-09 19:20:00 +0000 |
---|---|---|
committer | pabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-09 19:20:00 +0000 |
commit | a230dcb19b365b19ac35f1a19604f15d08ccb430 (patch) | |
tree | cd37da45494f517628cded471487612ba3c4b2ed | |
parent | 80b4d542795b96a228da7e7acd80d1886a57a4a8 (diff) |
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.4@275241 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 01742f8cf..7bd669cb0 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -9096,7 +9096,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); |