mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Teach the netgraph code to use a const char * pointer too.
Pointy hat to: adrian
This commit is contained in:
parent
d603c3d73b
commit
1f43ebd2b9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257535
@ -776,7 +776,7 @@ ng_iface_rcvdata(hook_p hook, item_p item)
|
||||
return (EAFNOSUPPORT);
|
||||
}
|
||||
if (harvest.point_to_point)
|
||||
random_harvest(&(m->m_data), 12, 2, RANDOM_NET_NG);
|
||||
random_harvest(mtod(m, const void *), 12, 2, RANDOM_NET_NG);
|
||||
M_SETFIB(m, ifp->if_fib);
|
||||
netisr_dispatch(isr, m);
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user