|
@@ -204,7 +204,6 @@ char* get_hdr_field(char* buf, char* end, struct hdr_field* hdr)
|
|
|
case HDR_ACCEPTDISPOSITION:
|
|
|
case HDR_DIVERSION:
|
|
|
case HDR_RPID:
|
|
|
- case HDR_SIPIFMATCH:
|
|
|
case HDR_OTHER:
|
|
|
/* just skip over it */
|
|
|
hdr->body.s=tmp;
|
|
@@ -365,7 +364,7 @@ int parse_headers(struct sip_msg* msg, int flags, int next)
|
|
|
msg->parsed_flag|=HDR_ALLOW;
|
|
|
break;
|
|
|
case HDR_EVENT:
|
|
|
- if (msg->event==0) msg->event = hf;
|
|
|
+ if (msg->allow==0) msg->event = hf;
|
|
|
msg->parsed_flag|=HDR_EVENT;
|
|
|
break;
|
|
|
case HDR_ACCEPT:
|
|
@@ -426,12 +425,6 @@ int parse_headers(struct sip_msg* msg, int flags, int next)
|
|
|
DBG("parse_headers: this is the second via\n");
|
|
|
}
|
|
|
break;
|
|
|
- case HDR_SIPIFMATCH:
|
|
|
- if (msg->sipifmatch==0)
|
|
|
- msg->sipifmatch=hf;
|
|
|
-
|
|
|
- msg->parsed_flag|=HDR_SIPIFMATCH;
|
|
|
- break;
|
|
|
default:
|
|
|
LOG(L_CRIT, "BUG: parse_headers: unknown header type %d\n",
|
|
|
hf->type);
|