]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Add a security event for the case where fake authentication challenge is sent.
authorMark Michelson <mmichelson@digium.com>
Tue, 28 Feb 2012 18:51:44 +0000 (18:51 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 28 Feb 2012 18:51:44 +0000 (18:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@357318 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/sip/security_events.c

index 8af4f29f93b8d4f5287bedb0c4e88902738bad03..110c10a55637ed381d2251792722c15b9d137104 100644 (file)
@@ -365,6 +365,7 @@ int sip_report_security_event(const struct sip_pvt *p, const struct sip_request
                sip_report_invalid_peer(p);
                break;
        case AUTH_FAKE_AUTH:
+               sip_report_invalid_peer(p);
                break;
        case AUTH_UNKNOWN_DOMAIN:
                snprintf(aclname, sizeof(aclname), "domain_must_match");