summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_ipfw.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-02-14 15:22:24 +0000
committerru <ru@FreeBSD.org>2006-02-14 15:22:24 +0000
commit9b12fa4fac4dbd56e4f40f76df510a29cbd40a90 (patch)
treec42eb5000caebce0a9c33ac8913459eeef2b4fa0 /sys/netgraph/ng_ipfw.c
parenta3a3e58c13384ca13edb73c2e84d34db4339b705 (diff)
downloadFreeBSD-src-9b12fa4fac4dbd56e4f40f76df510a29cbd40a90.zip
FreeBSD-src-9b12fa4fac4dbd56e4f40f76df510a29cbd40a90.tar.gz
Unbreak this.
Diffstat (limited to 'sys/netgraph/ng_ipfw.c')
-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 f2e4a7f..f7c6662 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
OpenPOWER on IntegriCloud