aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/non_tcp_udp.c
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2022-06-16 09:16:18 +0200
committerGitHub <noreply@github.com>2022-06-16 09:16:18 +0200
commit20a29c393f5cff3864a75070b2988fe1be1c6d17 (patch)
tree2c707abe2f816262e41a63eadda60fe13ba86789 /src/lib/protocols/non_tcp_udp.c
parentc43360f8e65d9caa590070c5fa7211be63e6b408 (diff)
Improved IPSec/ISAKMP detection. (#1600)
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/protocols/non_tcp_udp.c')
-rw-r--r--src/lib/protocols/non_tcp_udp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/protocols/non_tcp_udp.c b/src/lib/protocols/non_tcp_udp.c
index 9f3ced86e..f219ccb3e 100644
--- a/src/lib/protocols/non_tcp_udp.c
+++ b/src/lib/protocols/non_tcp_udp.c
@@ -50,7 +50,7 @@ void ndpi_search_in_non_tcp_udp(struct ndpi_detection_module_struct
switch (flow->l4_proto) {
case NDPI_IPSEC_PROTOCOL_ESP:
case NDPI_IPSEC_PROTOCOL_AH:
- set_protocol_and_bmask(NDPI_PROTOCOL_IP_IPSEC);
+ set_protocol_and_bmask(NDPI_PROTOCOL_IPSEC);
break;
case NDPI_GRE_PROTOCOL_TYPE:
@@ -106,8 +106,8 @@ void init_non_tcp_udp_dissector(struct ndpi_detection_module_struct *ndpi_struct
/* always add non tcp/udp if one protocol is compiled in */
NDPI_SAVE_AS_BITMASK(ndpi_struct->callback_buffer[*id].detection_bitmask, NDPI_PROTOCOL_UNKNOWN);
- ndpi_set_bitmask_protocol_detection("IP_IPSEC", ndpi_struct, detection_bitmask, *id,
- NDPI_PROTOCOL_IP_IPSEC,
+ ndpi_set_bitmask_protocol_detection("IPSec", ndpi_struct, detection_bitmask, *id,
+ NDPI_PROTOCOL_IPSEC,
ndpi_search_in_non_tcp_udp,
NDPI_SELECTION_BITMASK_PROTOCOL_IPV4_OR_IPV6,
NO_SAVE_DETECTION_BITMASK_AS_UNKNOWN,