about summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorMarc <marc@malloc.me>2022-10-02 01:18:18 +0100
committerGitHub <noreply@github.com>2022-10-02 01:18:18 +0100
commit9f6dca87a43b9e27a0f4186d8a57cf7be1f0a358 (patch)
treea06df18c56b7eb3abfa6844122c59704bd2725d8 /examples
parent18b3f897df1d17e9d140fb24b7bad4bdd2b849f1 (diff)
downloadlibwifi-9f6dca87a43b9e27a0f4186d8a57cf7be1f0a358.tar.gz
libwifi-9f6dca87a43b9e27a0f4186d8a57cf7be1f0a358.tar.bz2
libwifi-9f6dca87a43b9e27a0f4186d8a57cf7be1f0a358.zip
examples: Use llu for uint64_t field
Fixes #10
Diffstat (limited to 'examples')
-rw-r--r--examples/parse_eapol/parse_eapol.c2
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]);