aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2021-07-25 21:54:19 +0200
committerGitHub <noreply@github.com>2021-07-25 21:54:19 +0200
commit29ec34f66d91004f460aa6d4f3e28d75b78c9aa5 (patch)
tree5009728c82d671ff11a859782b879801c5b96c37 /python
parenta482e1c0becfa48969e3e01dcab7e76907e0484d (diff)
Improved TFTP detection. Fixes #1242, #1256 (#1262)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'python')
2 files changed, 2 insertions, 2 deletions
diff --git a/python/ndpi.py b/python/ndpi.py
index 54e12b82b..61376fdbe 100644
--- a/python/ndpi.py
+++ b/python/ndpi.py
@@ -673,7 +673,7 @@ struct ndpi_flow_udp_struct {
uint32_t halflife2_stage:2; // 0 - 2
/* NDPI_PROTOCOL_TFTP */
- uint32_t tftp_stage:1;
+ uint32_t tftp_stage:2;
/* NDPI_PROTOCOL_AIMINI */
uint32_t aimini_stage:5;
diff --git a/python/ndpi_typestruct.py b/python/ndpi_typestruct.py
index b983a660c..1944a5f3c 100644
--- a/python/ndpi_typestruct.py
+++ b/python/ndpi_typestruct.py
@@ -426,7 +426,7 @@ class NDPIFlowUdpStruct(Structure):
('snmp_stage', c_uint32, 2),
('ppstream_stage', c_uint32, 3),
('halflife2_stage', c_uint32, 2),
- ('tftp_stage', c_uint32, 1),
+ ('tftp_stage', c_uint32, 2),
('aimini_stage', c_uint32, 5),
('xbox_stage', c_uint32, 1),
('wsus_stage', c_uint32, 1),