Fixed regression of the type of the `header' member of struct pkthdr from
`void *' to caddr_t in rev.1.40. This mainly caused an annoying warning for compiling ip_input.c.
This commit is contained in:
parent
d52b295063
commit
8b788cbd86
@ -79,7 +79,7 @@ struct pkthdr {
|
||||
struct ifnet *rcvif; /* rcv interface */
|
||||
int len; /* total packet length */
|
||||
/* variables for ip and tcp reassembly */
|
||||
caddr_t header; /* pointer to packet header */
|
||||
void *header; /* pointer to packet header */
|
||||
/* variables for hardware checksum */
|
||||
int csum_flags; /* flags regarding checksum */
|
||||
int csum_data; /* data field used by csum routines */
|
||||
|
Loading…
Reference in New Issue
Block a user