From 9f6dca87a43b9e27a0f4186d8a57cf7be1f0a358 Mon Sep 17 00:00:00 2001 From: Marc Date: Sun, 2 Oct 2022 01:18:18 +0100 Subject: examples: Use llu for uint64_t field Fixes #10 --- examples/parse_eapol/parse_eapol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/parse_eapol/parse_eapol.c') 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 printf("EAPOL: Descriptor: %d\n", data.descriptor); printf("EAPOL: Key Info: Information: 0x%04x\n", data.key_info.information); printf("EAPOL: Key Info: Key Length: %d\n", data.key_info.key_length); - printf("EAPOL: Key Info: Replay Counter: %lu\n", data.key_info.replay_counter); + printf("EAPOL: Key Info: Replay Counter: %llu\n", data.key_info.replay_counter); printf("EAPOL: Key Info: Nonce: "); for (size_t i = 0; i < sizeof(data.key_info.nonce); ++i) { printf("%02x ", data.key_info.nonce[i]); -- cgit 1.4.1