aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2022-06-05 11:19:28 +0200
committerLuca Deri <deri@ntop.org>2022-06-05 11:19:28 +0200
commit2202365b951e7469ff805baf5bf631a8d9a9ec8a (patch)
tree9321ad43daa87ea0a6fd4e179b5fb40bb2e69e9c
parentb6ae9642d359a536e09796102b9fe6fe173169d5 (diff)
Fixed invalid DHCP dissection
-rw-r--r--src/lib/protocols/dhcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/protocols/dhcp.c b/src/lib/protocols/dhcp.c
index 5c6855e8f..5c59f6999 100644
--- a/src/lib/protocols/dhcp.c
+++ b/src/lib/protocols/dhcp.c
@@ -186,8 +186,8 @@ void ndpi_search_dhcp_udp(struct ndpi_detection_module_struct *ndpi_struct,
}
}
}
- }
- NDPI_EXCLUDE_PROTO(ndpi_struct, flow);
+ } else
+ NDPI_EXCLUDE_PROTO(ndpi_struct, flow);
}