Sfoglia il codice sorgente

- added Maxforwards support to msg_parser (miising case)

Andrei Pelinescu-Onciul 24 anni fa
parent
commit
f8cdfdc8d4
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      msg_parser.c

+ 2 - 1
msg_parser.c

@@ -249,7 +249,8 @@ char* get_hdr_field(char* buf, char* end, struct hdr_field* hdr)
 		case HDR_FROM:
 		case HDR_CALLID:
 		case HDR_CONTACT:
-	        case HDR_ROUTE:   /* janakj, HDR_ROUTE was missing here */
+		case HDR_ROUTE:   /* janakj, HDR_ROUTE was missing here */
+		case HDR_MAXFORWARDS:
 		case HDR_OTHER:
 			/* just skip over it */
 			hdr->body.s=tmp;