mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Remove remnants of byte order manipulation, back when FreeBSD stack
stored packets in host byte order.
This commit is contained in:
parent
63d33e48d6
commit
7d3df83cfa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343927
|
@ -288,7 +288,6 @@ static int
|
|||
ng_ipfw_input(struct mbuf **m0, int dir, struct ip_fw_args *fwa, int tee)
|
||||
{
|
||||
struct mbuf *m;
|
||||
struct ip *ip;
|
||||
hook_p hook;
|
||||
int error = 0;
|
||||
|
||||
|
@ -330,8 +329,6 @@ ng_ipfw_input(struct mbuf **m0, int dir, struct ip_fw_args *fwa, int tee)
|
|||
(m = m_pullup(m, sizeof(struct ip))) == NULL)
|
||||
return (EINVAL);
|
||||
|
||||
ip = mtod(m, struct ip *);
|
||||
|
||||
NG_SEND_DATA_ONLY(error, hook, m);
|
||||
|
||||
return (error);
|
||||
|
|
Loading…
Reference in a new issue