diff options
Diffstat (limited to 'package/aircrack-ng/patches/patch-src_airodump-ng_c')
-rw-r--r-- | package/aircrack-ng/patches/patch-src_airodump-ng_c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/package/aircrack-ng/patches/patch-src_airodump-ng_c b/package/aircrack-ng/patches/patch-src_airodump-ng_c deleted file mode 100644 index 989f0274d..000000000 --- a/package/aircrack-ng/patches/patch-src_airodump-ng_c +++ /dev/null @@ -1,21 +0,0 @@ -$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- aircrack-ng-1.0-rc3.orig/src/airodump-ng.c 2009-03-26 22:01:02.000000000 +0100 -+++ aircrack-ng-1.0-rc3/src/airodump-ng.c 2009-05-01 15:52:04.000000000 +0200 -@@ -4325,7 +4325,7 @@ int detect_frequencies(struct wif *wi) - printf("Checking available frequencies, this could take few seconds.\n"); - - frequencies = (int*) malloc((max_freq_num+1) * sizeof(int)); //field for frequencies supported -- bzero(frequencies, (max_freq_num+1) * sizeof(int)); -+ memset(frequencies, 0, (max_freq_num+1) * sizeof(int)); - for(freq=start_freq; freq<=end_freq; freq+=5) - { - if(wi_set_freq(wi, freq) == 0) -@@ -4388,7 +4388,7 @@ int rearrange_frequencies() - pos = 0; - - freqs = malloc(sizeof(int) * (count + 1)); -- bzero(freqs, sizeof(int) * (count + 1)); -+ memset(freqs, 0, sizeof(int) * (count + 1)); - round_done = 0; - - while(left > 0) |