aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/netgraph/ng_ipfw.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netgraph/ng_ipfw.c b/sys/netgraph/ng_ipfw.c
index f2e4a7f4dbba..f7c66623aa08 100644
--- a/sys/netgraph/ng_ipfw.c
+++ b/sys/netgraph/ng_ipfw.c
@@ -244,7 +244,7 @@ ng_ipfw_rcvdata(hook_p hook, item_p item)
ip->ip_len = ntohs(ip->ip_len);
ip->ip_off = ntohs(ip->ip_off);
- return ip_output(m, NULL, NULL, ngit->flags, NULL, NULL);
+ return ip_output(m, NULL, NULL, IP_FORWARDING, NULL, NULL);
}
case NG_IPFW_IN:
ip_input(m);
@@ -293,8 +293,6 @@ ng_ipfw_input(struct mbuf **m0, int dir, struct ip_fw_args *fwa, int tee)
ngit->rule = fwa->rule;
ngit->dir = dir;
ngit->ifp = fwa->oif;
- if (dir == NG_IPFW_OUT)
- ngit->flags = fwa->flags;
m_tag_prepend(m, &ngit->mt);
} else