aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/openvpn.c
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2019-07-13 18:34:40 +0200
committerGitHub <noreply@github.com>2019-07-13 18:34:40 +0200
commitc65025f7b005444b6100f50ca49ef537fcd72c0b (patch)
treeee3ad9e59b84ad6b2519302e3b3d754d8f499da7 /src/lib/protocols/openvpn.c
parentea32d535eb2a52f0146e6bd7054281138d106299 (diff)
parent92c769f206d407024cec677b838e67e64769249e (diff)
Merge pull request #737 from themadprofessor/dev
Add compiler warnings and fix them
Diffstat (limited to 'src/lib/protocols/openvpn.c')
-rw-r--r--src/lib/protocols/openvpn.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/protocols/openvpn.c b/src/lib/protocols/openvpn.c
index b92eb5cf7..6c08bba5a 100644
--- a/src/lib/protocols/openvpn.c
+++ b/src/lib/protocols/openvpn.c
@@ -40,13 +40,6 @@
#define P_PACKET_ID_ARRAY_LEN_OFFSET(hmac_size) (P_HARD_RESET_PACKET_ID_OFFSET(hmac_size) + 8)
#define P_HARD_RESET_CLIENT_MAX_COUNT 5
-static void ndpi_int_openvpn_add_connection(struct ndpi_detection_module_struct
- *ndpi_struct, struct ndpi_flow_struct *flow) {
- NDPI_LOG_INFO(ndpi_struct, "found memcached\n");
- ndpi_set_detected_protocol(ndpi_struct, flow,
- NDPI_PROTOCOL_MEMCACHED, NDPI_PROTOCOL_UNKNOWN);
-}
-
static
#ifndef WIN32
inline