From e185ee8004b77a8b71e16323a5fafb1eb4eb0e17 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 14 Feb 2006 15:22:24 +0000 Subject: Unbreak this. --- sys/netgraph/ng_ipfw.c | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3