aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/wireguard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/wireguard.c')
-rw-r--r--src/lib/protocols/wireguard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/protocols/wireguard.c b/src/lib/protocols/wireguard.c
index 62bb6aae7..7788b0c12 100644
--- a/src/lib/protocols/wireguard.c
+++ b/src/lib/protocols/wireguard.c
@@ -39,8 +39,8 @@ enum wg_message_type {
WG_TYPE_TRANSPORT_DATA = 4
};
-void ndpi_search_wireguard(struct ndpi_detection_module_struct
- *ndpi_struct, struct ndpi_flow_struct *flow)
+static void ndpi_search_wireguard(struct ndpi_detection_module_struct *ndpi_struct,
+ struct ndpi_flow_struct *flow)
{
struct ndpi_packet_struct *packet = &ndpi_struct->packet;
const u_int8_t *payload = packet->payload;