diff options
author | Thomas Fjellstrom <thomas@fjellstrom.ca> | 2015-10-04 19:53:25 -0600 |
---|---|---|
committer | Thomas Fjellstrom <thomas@fjellstrom.ca> | 2015-10-04 19:53:25 -0600 |
commit | a2ff20990cd22a128d260767a546c940c62ba953 (patch) | |
tree | f6bedca567f06e9cc9dfed8efdfca5cd230e0932 /src/lib/protocols/ubntac2.c | |
parent | 0a6d43c5f6ebc64b0e7e6efae6094096c7e9db61 (diff) |
remove traces of DHCP detector from ubntac2.c
Diffstat (limited to 'src/lib/protocols/ubntac2.c')
-rw-r--r-- | src/lib/protocols/ubntac2.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/protocols/ubntac2.c b/src/lib/protocols/ubntac2.c index 75580fd15..f12e122d7 100644 --- a/src/lib/protocols/ubntac2.c +++ b/src/lib/protocols/ubntac2.c @@ -1,5 +1,5 @@ /* - * dhcp.c + * ubntac2.c * * Copyright (C) 2009-2011 by ipoque GmbH * Copyright (C) 2011-15 - ntop.org @@ -40,11 +40,8 @@ void ndpi_search_ubntac2(struct ndpi_detection_module_struct *ndpi_struct, struc // struct ndpi_id_struct *src=ndpi_struct->src; // struct ndpi_id_struct *dst=ndpi_struct->dst; - /* this detection also works for asymmetric dhcp traffic */ - NDPI_LOG(NDPI_PROTOCOL_UBNTAC2, ndpi_struct, NDPI_LOG_TRACE, "UBNTAC2 detection... plen:%i %i:%i\n", packet->payload_packet_len, ntohs(packet->udp->source), ntohs(packet->udp->dest)); - /*check standard DHCP 0.0.0.0:68 -> 255.255.255.255:67 */ if (packet->payload_packet_len >= 135 && (packet->udp->source == htons(10001) || packet->udp->dest == htons(10001)) && memcmp(&(packet->payload[36]), "UBNT", 4) == 0) { |