Changeset 4762 for trunk/module-gbox.c
- Timestamp:
- 02/27/11 16:37:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-gbox.c
r4746 r4762 6 6 #include <time.h> 7 7 #include <sys/time.h> 8 9 8 10 9 #include "module-datastruct-llist.h" … … 80 79 // for all local cards do: 81 80 /* 82 gbox->checkcode[0] ^= caid << 8;83 gbox->checkcode[1] ^= caid & 0xff;81 gbox->checkcode[0] ^= provid << 24; 82 gbox->checkcode[1] ^= provid << 16; 84 83 gbox->checkcode[2] ^= provid << 8; 85 84 gbox->checkcode[3] ^= provid & 0xff; … … 808 807 while ((card = ll_iter_next(it))) { 809 808 //if (card->caid == er->caid && card->provid == er->prid) { 810 if (card->provid >> 24 == er->caid >> 8 && card->provid & 0xffffff== er->prid) {809 if (card->provid >> 24 == er->caid >> 8 && (card->provid & 0xffffff) == er->prid) { 811 810 *(++ptr) = card->peer_id >> 8; 812 811 *(++ptr) = card->peer_id;
Note:
See TracChangeset
for help on using the changeset viewer.