git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kernel - Updated makefiles to provide a better version number
[tpg/acess2.git]
/
Modules
/
IPStack
/
main.c
diff --git
a/Modules/IPStack/main.c
b/Modules/IPStack/main.c
index
c89e79a
..
5f650b3
100644
(file)
--- a/
Modules/IPStack/main.c
+++ b/
Modules/IPStack/main.c
@@
-229,7
+229,7
@@
int IPStack_CompareAddress(int AddressType, const void *Address1, const void *Ad
const Uint8 *addr1 = Address1, *addr2 = Address2;
// Sanity check size
- if( CheckBits < 0 ) CheckBits =
0
;
+ if( CheckBits < 0 ) CheckBits =
size*8
;
if( CheckBits > size*8 ) CheckBits = size*8;
if( CheckBits == 0 ) return 1; // /0 matches anything
UCC
git Repository :: git.ucc.asn.au