diff options
author | Luca Deri <deri@ntop.org> | 2021-10-04 22:34:49 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-10-04 22:34:49 +0200 |
commit | bb7aff6526e47ad42c61cc25a6108014cb1a84ce (patch) | |
tree | 9079159c2ed8210ddfc83831ca60ea98edaf9784 /src/lib/protocols | |
parent | fd0e65cb5734ec9509a81c8ee4121b9d0e1762c9 (diff) |
Added -a <num> to ndpiReader for generating OPNsense configuration
See https://github.com/ntop/opnsense
Diffstat (limited to 'src/lib/protocols')
-rw-r--r-- | src/lib/protocols/quic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/quic.c b/src/lib/protocols/quic.c index 43fcd0759..1a79de2b9 100644 --- a/src/lib/protocols/quic.c +++ b/src/lib/protocols/quic.c @@ -933,7 +933,7 @@ static uint8_t *decrypt_initial_packet(struct ndpi_detection_module_struct *ndpi uint8_t first_byte; uint32_t pkn32, pn_offset, pkn_len, offset; quic_ciphers ciphers; /* Client initial ciphers */ - quic_decrypt_result_t decryption = {0}; + quic_decrypt_result_t decryption = { 0, 0}; uint8_t client_secret[HASH_SHA2_256_LENGTH]; memset(&ciphers, '\0', sizeof(ciphers)); |