summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-27 02:23:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-27 02:23:23 +0000
commit925b902d8f8ffb98f13beed7889e6f846d9122bc (patch)
tree41b592c29045196ea386f3624a838550965b2d35 /sys
parentb2291cac591c325d27042f4e9d502a610fc5c093 (diff)
udp icmp errors had ip_len 20 bytes too large; stevens p774; koji@math.human.nagoya-u.ac.jp
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/udp_usrreq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 275dbba0c17..ed53e8d88a8 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udp_usrreq.c,v 1.9 1997/02/16 04:42:50 deraadt Exp $ */
+/* $OpenBSD: udp_usrreq.c,v 1.10 1997/06/27 02:23:22 deraadt Exp $ */
/* $NetBSD: udp_usrreq.c,v 1.28 1996/03/16 23:54:03 christos Exp $ */
/*
@@ -279,7 +279,6 @@ udp_input(m, va_alist)
goto bad;
}
*ip = save_ip;
- ip->ip_len += iphlen;
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_PORT, 0, 0);
return;
}