Remove remnants of byte order manipulation, back when FreeBSD stack
stored packets in host byte order.
This commit is contained in:
parent
6b73c508ad
commit
941de281ca
@ -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 New Issue
Block a user