about summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorMarc <marc@malloc.me>2022-10-16 20:02:39 +0100
committerMarc <marc@malloc.me>2022-10-16 20:02:39 +0100
commit97fc0835937513b808c2a0e07b1b0ac44a39e852 (patch)
treeceae3842463aa08fc92eaff1b10c9b7b74d4bd7e /examples
parent91db28425f34c11e0b2a0537f76c8511d239d27a (diff)
parent57cff1f43620d060e4b15d5e9e92529ac3658f90 (diff)
downloadlibwifi-97fc0835937513b808c2a0e07b1b0ac44a39e852.tar.gz
libwifi-97fc0835937513b808c2a0e07b1b0ac44a39e852.tar.bz2
libwifi-97fc0835937513b808c2a0e07b1b0ac44a39e852.zip
Merge branch 'main' into 6ghz
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]);