Skip to content

Commit

Permalink
Revert "Fix parsing for Diversion header."
Browse files Browse the repository at this point in the history
This reverts commit 31ddc49.
  • Loading branch information
bogdan-iancu committed Jun 11, 2015
1 parent f3c2b03 commit 48a7f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sipmsgops/sipmsgops.c
Expand Up @@ -1591,6 +1591,7 @@ static int sip_validate_hdrs(struct sip_msg *msg)
case HDR_PAI_T:
case HDR_RPID_T:
case HDR_REFER_TO_T:
case HDR_DIVERSION_T:
/* these are similar */
if (!(to = pkg_malloc(sizeof(struct to_body)))) {
LM_ERR("out of pkg_memory\n");
Expand Down Expand Up @@ -1637,7 +1638,6 @@ static int sip_validate_hdrs(struct sip_msg *msg)
case HDR_PATH_T:
case HDR_ROUTE_T:
case HDR_RECORDROUTE_T:
case HDR_DIVERSION_T:
CHECK_HDR_FUNC(parse_rr, hf);
break;

Expand Down

0 comments on commit 48a7f21

Please sign in to comment.