diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2022-08-05 15:15:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-05 15:15:45 +0200 |
commit | 1d4e27c4739f74ccef19fde7e6008d725ea93a69 (patch) | |
tree | da0d6d7c177488752834482e61c6d802d3d79f82 /src/lib/protocols/kerberos.c | |
parent | c0732eda45884de91e0c221e9dd23eeec364bf68 (diff) |
Further simplification of `ndpi_process_extra_packet()` (#1698)
See 95e16872.
After c0732eda, we can safely remove the protocol list from
`ndpi_process_extra_packet()`.
The field `flow->check_extra_packets` is redundant; remove it.
Diffstat (limited to 'src/lib/protocols/kerberos.c')
-rw-r--r-- | src/lib/protocols/kerberos.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/protocols/kerberos.c b/src/lib/protocols/kerberos.c index 92ee7defe..e7063d010 100644 --- a/src/lib/protocols/kerberos.c +++ b/src/lib/protocols/kerberos.c @@ -568,7 +568,6 @@ void ndpi_search_kerberos(struct ndpi_detection_module_struct *ndpi_struct, #ifdef KERBEROS_DEBUG printf("[Kerberos] Setting extra func from AS-REQ\n"); #endif - flow->check_extra_packets = 1; flow->max_extra_packets_to_check = 5; /* Reply may be split into multiple segments */ flow->extra_packets_func = ndpi_search_kerberos_extra; } else if(msg_type == 0x0e) /* AS-REQ */ { @@ -624,7 +623,6 @@ void ndpi_search_kerberos(struct ndpi_detection_module_struct *ndpi_struct, printf("[Kerberos] Setting extra func from TGS-REQ\n"); #endif if(!packet->udp) { - flow->check_extra_packets = 1; flow->max_extra_packets_to_check = 5; /* Reply may be split into multiple segments */ flow->extra_packets_func = ndpi_search_kerberos_extra; } |