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:
Bruce Evans 2000-06-03 10:30:56 +00:00
parent d52b295063
commit 8b788cbd86

View File

@ -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 */