diff options
author | 2002-01-23 21:34:53 +0000 | |
---|---|---|
committer | 2002-01-23 21:34:53 +0000 | |
commit | 79f5fd66fe6e609c4296f7d751ddd8cfb34e699e (patch) | |
tree | ecda684a9290dfdfa7b0b6fd9d6ebb0b4732a1fc /sys/netinet/ipsec_input.c | |
parent | Convert to pool; based on changes NetBSD (diff) | |
download | wireguard-openbsd-79f5fd66fe6e609c4296f7d751ddd8cfb34e699e.tar.xz wireguard-openbsd-79f5fd66fe6e609c4296f7d751ddd8cfb34e699e.zip |
disable pmtu for ipsec when the sysctl says so; bug report cjkim2000@yahoo.com
Diffstat (limited to 'sys/netinet/ipsec_input.c')
-rw-r--r-- | sys/netinet/ipsec_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ipsec_input.c b/sys/netinet/ipsec_input.c index 2abd2b6ae5f..3e9f69c4039 100644 --- a/sys/netinet/ipsec_input.c +++ b/sys/netinet/ipsec_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsec_input.c,v 1.54 2001/12/06 22:52:10 angelos Exp $ */ +/* $OpenBSD: ipsec_input.c,v 1.55 2002/01/23 21:34:53 provos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -804,7 +804,7 @@ ipsec_common_ctlinput(int cmd, struct sockaddr *sa, void *v, int proto) struct ip *ip = v; int s; - if (cmd == PRC_MSGSIZE && ip && ip->ip_v == 4) { + if (cmd == PRC_MSGSIZE && ip && ip_mtudisc && ip->ip_v == 4) { struct tdb *tdbp; struct sockaddr_in dst; struct icmp *icp; |