diff options
author | Luca Deri <deri@ntop.org> | 2024-04-11 12:37:39 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2024-04-11 12:37:39 +0200 |
commit | 8b4fdbc0fb90d32dc159ff9e9d0ceb18eeb91ede (patch) | |
tree | 7da3b4a938c46c138106eb3aa3b747528d62d309 /src/lib/ndpi_main.c | |
parent | 9ff4bece33bc5e8601208e59ecb2f8bc66b4daaa (diff) |
Renamed ndpi_fill_ip6_protocol_category in ndpi_fill_ipv6_protocol_category
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 8f9e0c399..9b873b2d5 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -8067,10 +8067,10 @@ int ndpi_fill_ip_protocol_category(struct ndpi_detection_module_struct *ndpi_str /* ********************************************************************************* */ -int ndpi_fill_ip6_protocol_category(struct ndpi_detection_module_struct *ndpi_str, - struct ndpi_flow_struct *flow, - struct in6_addr *saddr, struct in6_addr *daddr, - ndpi_protocol *ret) { +int ndpi_fill_ipv6_protocol_category(struct ndpi_detection_module_struct *ndpi_str, + struct ndpi_flow_struct *flow, + struct in6_addr *saddr, struct in6_addr *daddr, + ndpi_protocol *ret) { bool match_client = true; ret->custom_category_userdata = NULL; @@ -8297,7 +8297,8 @@ static int ndpi_do_guess(struct ndpi_detection_module_struct *ndpi_str, struct n if(packet->iph) ndpi_fill_ip_protocol_category(ndpi_str, flow, flow->c_address.v4, flow->s_address.v4, ret); else - ndpi_fill_ip6_protocol_category(ndpi_str, flow, (struct in6_addr *)flow->c_address.v6, (struct in6_addr *)flow->s_address.v6, ret); + ndpi_fill_ipv6_protocol_category(ndpi_str, flow, (struct in6_addr *)flow->c_address.v6, + (struct in6_addr *)flow->s_address.v6, ret); flow->guessed_header_category = ret->category; } else flow->guessed_header_category = NDPI_PROTOCOL_CATEGORY_UNSPECIFIED; |