aircrack-ng: backport patch to fix gpsd option for airodump-ng
`airodump-ng --gpsd` does not work in airodump 1.7 release.
It's fixed in the current rolling version, but there's been no new release in nearly two years and no sign of a new release being imminent.
So, this is a patch to fix the OpenWrt version; it's a direct copy of the official patch at 6d4539c1ce
Signed-off-by: dracode <github@dragonbyte.org>
This commit is contained in:
parent
3886eac61c
commit
12a8789340
|
@ -0,0 +1,12 @@
|
|||
diff -dur aircrack-ng-1.7/src/airodump-ng/airodump-ng.c aircrack-ng-1.7-bugfix/src/airodump-ng/airodump-ng.c
|
||||
--- a/src/airodump-ng/airodump-ng.c 2022-05-10 19:01:46.000000000 -0400
|
||||
+++ b/src/airodump-ng/airodump-ng.c 2024-04-03 17:37:35.496429825 -0400
|
||||
@@ -4429,7 +4429,7 @@
|
||||
char * vcursor = value;
|
||||
int ret = 0;
|
||||
|
||||
- if (buffer == NULL || *buffer == '\0' || name == NULL || *name != '\0'
|
||||
+ if (buffer == NULL || *buffer == '\0' || name == NULL || *name == '\0'
|
||||
|| value == NULL)
|
||||
{
|
||||
return (0);
|
Loading…
Reference in New Issue