Closed gemesa closed 12 months ago
Looks like I just merged some similar things ... care to check?
Sure, I removed 2 redundant commits from this PR (which were duplicates of https://github.com/radiotap/radiotap-library/commit/2da183c275e63a44c3a56a9393e1533836762312 and https://github.com/radiotap/radiotap-library/commit/48a09c0f2e7153060a0d9f9e4166b3d18f0a85de). Please check the remaining changes.
Hi @jmberg, I am coming from the aircrack-ng project where this radiotap library is being utilized. Recently I started experimenting with the aircrack radiotap code which is a fork of your implementation. I noticed some warnings which I fixed and submitted a PR where it was suggested to me to submit these changes here also.
My changes:
-D_DEFAULT_SOURCE
according to this manpage:(unsigned long long)
cast toparse.c
-Waddress-of-packed-member
inradiotap.c
, this fix is part of the aircrack codebase since Jul 23, 2020 (https://github.com/aircrack-ng/aircrack-ng/commit/44f13dbc8eb9e0d811c68c0e6668cef76b268545, https://github.com/aircrack-ng/aircrack-ng/commit/998bc121b8b648a1cba964d5be1b058acef8d5b5)Warnings before my fixes:
After my fixes: