aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols
diff options
context:
space:
mode:
authorysk <shaokunyang@163.com>2020-07-16 17:26:46 +0800
committerysk <shaokunyang@163.com>2020-07-16 17:26:46 +0800
commita268952068e4593e9662b4bc98ce79fd547d64b4 (patch)
tree7434976f9a714ee7188b72e4ca85764eb552fc9d /src/lib/protocols
parent69ca98ca3557005e36a0411ec526b464d88039bf (diff)
remove the unused code
Diffstat (limited to 'src/lib/protocols')
-rw-r--r--src/lib/protocols/xbox.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/protocols/xbox.c b/src/lib/protocols/xbox.c
index 2b5b8500c..4c26e1f75 100644
--- a/src/lib/protocols/xbox.c
+++ b/src/lib/protocols/xbox.c
@@ -85,12 +85,6 @@ void ndpi_search_xbox(struct ndpi_detection_module_struct *ndpi_struct, struct n
ndpi_int_xbox_add_connection(ndpi_struct, flow);
NDPI_LOG_INFO(ndpi_struct, "found xbox udp port connection detected\n");
return;
- }else if(dport == 3544 || sport == 3544)
- {
- ndpi_int_xbox_add_connection(ndpi_struct, flow);
- NDPI_LOG_INFO(ndpi_struct, "found xbox udp port connection detected\n");
- NDPI_LOG_DBG(ndpi_struct, "%s %d \n", __FUNCTION__, __LINE__);
- return;
}
/* exclude here all non matched udp traffic, exclude here tcp only if http has been excluded, because xbox could use http */