aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/ndpi_util.c')
-rw-r--r--example/ndpi_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/example/ndpi_util.c b/example/ndpi_util.c
index 96a88a8e5..1fc3af15a 100644
--- a/example/ndpi_util.c
+++ b/example/ndpi_util.c
@@ -652,8 +652,9 @@ struct ndpi_proto ndpi_workflow_process_packet (struct ndpi_workflow * workflow,
type = ntohs(chdlc->proto_code);
break;
- /* Cisco PPP with HDLC framing - 104 */
+ /* Cisco PPP - 9 or 104 */
case DLT_C_HDLC:
+ case DLT_PPP:
chdlc = (struct ndpi_chdlc *) &packet[eth_offset];
ip_offset = sizeof(struct ndpi_chdlc); /* CHDLC_OFF = 4 */
type = ntohs(chdlc->proto_code);