diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-08-11 00:33:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-08-11 00:33:31 +0100 |
commit | ff5dd7b3704b9e8f9f606d4929f95694ec84ddf3 (patch) | |
tree | 393b3bd8a65eb3ec464babab42da8d9ec88851c3 /net-wireless/mdk/files | |
parent | 4c05e04608db666140daaa94499f5f90521a2cc4 (diff) |
cleanup
Diffstat (limited to 'net-wireless/mdk/files')
-rw-r--r-- | net-wireless/mdk/files/fix_wids_mdk3_v5.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/net-wireless/mdk/files/fix_wids_mdk3_v5.patch b/net-wireless/mdk/files/fix_wids_mdk3_v5.patch deleted file mode 100644 index 6013a59b..00000000 --- a/net-wireless/mdk/files/fix_wids_mdk3_v5.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -ur mdk3-v5-orig/mdk3.c mdk3-v5/mdk3.c ---- mdk3-v5-orig/mdk3.c 2008-11-10 21:45:02.000000000 +0100 -+++ mdk3-v5/mdk3.c 2009-01-10 01:47:03.546875000 +0100 -@@ -1092,10 +1092,13 @@ - { - struct clistwidsclient *first = c; - -- do { -- if (!(memcmp(c->mac, mac, mac_len))) return c; -- c = c->next; -- } while (c != first); -+ if (c != NULL) -+ { -+ do { -+ if (c->mac != NULL && !(memcmp(c->mac, mac, mac_len))) return c; -+ c = c->next; -+ } while (c != NULL && c != first); -+ } - - return NULL; - } |