summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-31 20:58:26 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-31 20:58:26 +0000
commited41dbb449d7a54f1617d4a36dc7d4262d17b07c (patch)
tree8e2fd77f93977be0cbb9bbdbad6db317a473b5ae /sys/net/pf.c
parent0b3d1e487f4f5f70f8d50b779b08133683e27ae2 (diff)
respect rmx_mtu (cached PMTUD result) on outbound. deraadt/angelos ok
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r--sys/net/pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 5da39238362..9cf5cdf201b 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.211 2002/05/31 19:45:17 deraadt Exp $ */
+/* $OpenBSD: pf.c,v 1.212 2002/05/31 20:58:25 itojun Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -5286,7 +5286,7 @@ pf_route(struct mbuf **m, struct pf_rule *r, int dir)
}
m1 = m0;
- error = ip_fragment(m0, ifp);
+ error = ip_fragment(m0, ifp, ifp->if_mtu);
if (error == EMSGSIZE)
goto bad;