fix wrong increment for MPLS double header

This commit is contained in:
Campus
2018-02-15 21:26:38 +01:00
parent df54e8b926
commit 9e47e49ade
+1 -1
View File
@@ -855,9 +855,9 @@ struct ndpi_proto ndpi_workflow_process_packet (struct ndpi_workflow * workflow,
type = ETH_P_IP, ip_offset += 4;
while(!mpls.mpls.s) {
ip_offset += 4;
mpls.u32 = *((uint32_t *) &packet[ip_offset]);
mpls.u32 = ntohl(mpls.u32);
ip_offset += 4;
}
break;
case PPPoE: