fix via comparison to not be case sensitive (bug #4496)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2005-06-21 14:15:55 +00:00
parent 4a15544b22
commit 2877470389
+1 -1
View File
@@ -5270,7 +5270,7 @@ static int check_via(struct sip_pvt *p, struct sip_request *req)
c++;
while(*c && (*c < 33))
c++;
if (strcmp(via, "SIP/2.0/UDP")) {
if (strcasecmp(via, "SIP/2.0/UDP")) {
ast_log(LOG_WARNING, "Don't know how to respond via '%s'\n", via);
return -1;
}