diff options
author | ru <ru@FreeBSD.org> | 2000-10-12 16:33:41 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-10-12 16:33:41 +0000 |
commit | 529896e0eaa10f24eedd25e99cd5dc9a520fc14b (patch) | |
tree | daa01ee95ef46514e4362e6991420b7f9d9fc33a /sys/netinet | |
parent | 51c91a72d927ac55e028218db79ad05e1c0e9853 (diff) | |
download | FreeBSD-src-529896e0eaa10f24eedd25e99cd5dc9a520fc14b.zip FreeBSD-src-529896e0eaa10f24eedd25e99cd5dc9a520fc14b.tar.gz |
Backout my wrong attempt to fix the compilation warning in ip_input.c
and instead reapply the revision 1.49 of mbuf.h, i.e.
Fixed regression of the type of the `header' member of struct pkthdr from
`void *' to caddr_t in rev.1.51. This mainly caused an annoying warning
for compiling ip_input.c.
Requested by: bde
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 9432545..a360b4f 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -668,7 +668,7 @@ found: */ if (mff || ip->ip_off) { ipstat.ips_fragments++; - m->m_pkthdr.header = (caddr_t)ip; + m->m_pkthdr.header = ip; #ifdef IPDIVERT m = ip_reass(m, fp, &ipq[sum], &divert_info, &divert_cookie); |