mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue