diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-08-24 09:41:13 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-08-24 09:41:13 +0000 |
commit | d2c8a3df2a60c97074e06db43213a39d9d97355c (patch) | |
tree | c07ac000bea09d67b9cf2da7207d4a574f2f7019 /sys/net/pf_norm.c | |
parent | 2b7122cd9de64cdf9ca22ec38d1583911166fd78 (diff) |
Kill ip6_forward_rt reducing differences between v4 and v6.
A single forwarding cache is not the answer. The answer is 42... err PF!
ok bluhm@
Diffstat (limited to 'sys/net/pf_norm.c')
-rw-r--r-- | sys/net/pf_norm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_norm.c b/sys/net/pf_norm.c index 9c999829de8..450c151c4ee 100644 --- a/sys/net/pf_norm.c +++ b/sys/net/pf_norm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_norm.c,v 1.189 2016/08/17 03:24:12 procter Exp $ */ +/* $OpenBSD: pf_norm.c,v 1.190 2016/08/24 09:41:12 mpi Exp $ */ /* * Copyright 2001 Niels Provos <provos@citi.umich.edu> @@ -759,7 +759,7 @@ pf_refragment6(struct mbuf **m0, struct m_tag *mtag, struct sockaddr_in6 *dst, m->m_pkthdr.pf.flags |= PF_TAG_REFRAGMENTED; if (error == 0) { if (ifp == NULL) { - ip6_forward(m, 0); + ip6_forward(m, NULL, 0); } else if ((u_long)m->m_pkthdr.len <= ifp->if_mtu) { ifp->if_output(ifp, m, sin6tosa(dst), rt); } else { |