diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2006-02-14 15:22:24 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2006-02-14 15:22:24 +0000 |
commit | e185ee8004b77a8b71e16323a5fafb1eb4eb0e17 (patch) | |
tree | c42eb5000caebce0a9c33ac8913459eeef2b4fa0 | |
parent | 414c4ab4c519ccc2192985b3a364be1d251ac70c (diff) | |
download | src-e185ee8004b77a8b71e16323a5fafb1eb4eb0e17.tar.gz src-e185ee8004b77a8b71e16323a5fafb1eb4eb0e17.zip |
Unbreak this.
Notes
Notes:
svn path=/head/; revision=155681
-rw-r--r-- | sys/netgraph/ng_ipfw.c | 4 |
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 |