aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-05 19:58:19 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-05 19:58:19 +0000
commit880af09d4cbd47baa6bef30ad8546adeacf83dfb (patch)
tree1e605d0e04428a54cdba8dc5807bd9cc45d654e3 /channels
parent5ea17e9e7c81282bb76b5364ab3a8d3e4a43ddce (diff)
Yeah yeah, I broke building on trunk. Shoot me.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102452 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-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 0939ee96b..322f4c127 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -9926,7 +9926,7 @@ static enum check_auth_result check_auth(struct sip_pvt *p, struct sip_request *
transmit_response_with_auth(p, response, req, p->randdata, reliable, respheader, TRUE);
} else {
/* Everything was wrong, so give the device one more try with a new challenge */
- if (!ast_test_flag(req, SIP_PKT_IGNORE)) {
+ if (!req->ignore) {
if (sipdebug)
ast_log(LOG_NOTICE, "Bad authentication received from '%s'\n", get_header(req, "To"));
ast_string_field_build(p, randdata, "%08lx", ast_random());