Check-in [d4b45fb52e]
Overview
SHA1:d4b45fb52ea86e5d1f6cd7b74736aa5d47308db0
Date: 2009-05-24 18:29:06
User: rmiller
Comment:Change to uint8_t per Julien.
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2009-05-24
21:00
[52fcd859c7] A little defensive programming... (user: rmiller, tags: trunk)
18:29
[d4b45fb52e] Change to uint8_t per Julien. (user: rmiller, tags: trunk)
2009-05-10
18:10
[8ad0406dfd] Patch submitted by Julien Reveret that makes packetbl actually work under 64 bit systems. (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