]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
return stale on invalid auth header
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 16 Jan 2008 15:06:33 +0000 (15:06 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 16 Jan 2008 15:06:33 +0000 (15:06 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7248 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_reg.c

index b407b77e1c0d80042f381c0d5c0d103b715a2bf2..6bb075d9498591708638f392d4d10c0433cff886 100644 (file)
@@ -823,6 +823,7 @@ auth_res_t sofia_reg_parse_auth(sofia_profile_t *profile, sip_authorization_t co
 
        if (cnt != 8) {
                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Authorization header!\n");
+               ret = AUTH_STALE;
                goto end;
        }