Merged revisions 81395 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81395 | file | 2007-08-30 18:23:50 -0300 (Thu, 30 Aug 2007) | 6 lines (closes issue #10514) Reported by: casper Patches: chan_sip.c.80129.diff uploaded by casper (license 55) Remove needless check for AUTH_UNKNOWN_DOMAIN. It was impossible for it to ever be that value. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81396 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
bba89969e0
commit
69dd604b73
1 changed files with 1 additions and 1 deletions
|
@ -9359,7 +9359,7 @@ static enum check_auth_result register_verify(struct sip_pvt *p, struct sockaddr
|
|||
transmit_fake_auth_response(p, &p->initreq, 1);
|
||||
} else {
|
||||
/* URI not found */
|
||||
if (res == AUTH_UNKNOWN_DOMAIN || res == AUTH_PEER_NOT_DYNAMIC)
|
||||
if (res == AUTH_PEER_NOT_DYNAMIC)
|
||||
transmit_response(p, "403 Forbidden", &p->initreq);
|
||||
else
|
||||
transmit_response(p, "404 Not found", &p->initreq);
|
||||
|
|
Reference in a new issue