openbsd-ports/security/aircrack-ng/patches/patch-src_airodump-ng_h

13 lines
486 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_airodump-ng_h,v 1.1 2011/05/21 11:19:24 fgsch Exp $
--- src/airodump-ng.h.orig Sun May 8 22:39:39 2011
+++ src/airodump-ng.h Sun May 8 22:42:37 2011
@@ -111,7 +111,7 @@ static uchar ZERO[32] =
"\x00\x00\x00\x00\x00\x00\x00\x00"
"\x00\x00\x00\x00\x00\x00\x00\x00";
-#define OUI_PATH "/usr/local/etc/aircrack-ng/airodump-ng-oui.txt"
+#define OUI_PATH "${PREFIX}/share/aircrack-ng/airodump-ng-oui.txt"
#define MIN_RAM_SIZE_LOAD_OUI_RAM 32768
int read_pkts=0;