mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04: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
1 changed files with 0 additions and 3 deletions
|
|
@ -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