Remove remnants of byte order manipulation, back when FreeBSD stack

stored packets in host byte order.
This commit is contained in:
Gleb Smirnoff 2019-02-09 03:00:00 +00:00
parent 63d33e48d6
commit 7d3df83cfa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343927

View File

@ -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);