From: Joshua Colp Date: Tue, 5 Feb 2008 19:58:19 +0000 (+0000) Subject: Yeah yeah, I broke building on trunk. Shoot me. X-Git-Tag: 1.6.0-beta3~2^2~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b0c2cd0f3a277bfb8e932c60060e9718c6ccb9e;p=thirdparty%2Fasterisk.git Yeah yeah, I broke building on trunk. Shoot me. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102452 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0939ee96b7..322f4c1270 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());