Overview
Comment: | Change to uint8_t per Julien. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
d4b45fb52ea86e5d1f6cd7b74736aa5d |
User & Date: | rmiller on 2009-05-24 18:29:06 |
Other Links: | manifest | tags |
Context
2009-05-24
| ||
21:00 | A little defensive programming... check-in: 52fcd859c7 user: rmiller tags: trunk | |
18:29 | Change to uint8_t per Julien. check-in: d4b45fb52e user: rmiller tags: trunk | |
2009-05-10
| ||
18:10 | Patch submitted by Julien Reveret that makes packetbl actually work under 64 bit systems. check-in: 8ad0406dfd user: rmiller tags: trunk | |
Changes
Modified packetbl.c from [dfedb0856e] to [b3fcc2e443].
74 74 # define PBL_COPY_PACKET NFQNL_COPY_PACKET 75 75 # define PBL_ID_T u_int32_t 76 76 # define PBL_ERRSTR "" 77 77 78 78 #define DEBUG(x, y) if (conf.debug >= x) { printf(y "\n"); } 79 79 struct packet_info { 80 80 81 - unsigned short int b1; 82 - unsigned short int b2; 83 - unsigned short int b3; 84 - unsigned short int b4; 81 + uint8_t b1; 82 + uint8_t b2; 83 + uint8_t b3; 84 + uint8_t b4; 85 85 86 86 int s_port; 87 87 int d_port; 88 88 89 89 int flags; 90 90 }; 91 91