diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/parse_eapol/parse_eapol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/parse_eapol/parse_eapol.c b/examples/parse_eapol/parse_eapol.c index cf35a6f..e8f2827 100644 --- a/examples/parse_eapol/parse_eapol.c +++ b/examples/parse_eapol/parse_eapol.c | |||
@@ -38,7 +38,7 @@ void handle_pkt(unsigned char *args, const struct pcap_pkthdr *header, const uns | |||
38 | printf("EAPOL: Descriptor: %d\n", data.descriptor); | 38 | printf("EAPOL: Descriptor: %d\n", data.descriptor); |
39 | printf("EAPOL: Key Info: Information: 0x%04x\n", data.key_info.information); | 39 | printf("EAPOL: Key Info: Information: 0x%04x\n", data.key_info.information); |
40 | printf("EAPOL: Key Info: Key Length: %d\n", data.key_info.key_length); | 40 | printf("EAPOL: Key Info: Key Length: %d\n", data.key_info.key_length); |
41 | printf("EAPOL: Key Info: Replay Counter: %lu\n", data.key_info.replay_counter); | 41 | printf("EAPOL: Key Info: Replay Counter: %llu\n", data.key_info.replay_counter); |
42 | printf("EAPOL: Key Info: Nonce: "); | 42 | printf("EAPOL: Key Info: Nonce: "); |
43 | for (size_t i = 0; i < sizeof(data.key_info.nonce); ++i) { | 43 | for (size_t i = 0; i < sizeof(data.key_info.nonce); ++i) { |
44 | printf("%02x ", data.key_info.nonce[i]); | 44 | printf("%02x ", data.key_info.nonce[i]); |