summaryrefslogtreecommitdiff
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-02 23:34:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-02 23:34:12 +0000
commita58dd771d0b8bd4abcb142bc44f1a3374d5d2a77 (patch)
tree7342bebd380d9fd897f7c618f99128b936e7fa1e /sys/netinet/udp_usrreq.c
parent5042288e631a70a7c5e69ca3034259a8223c4d94 (diff)
udpcksum should never be off in the modern world
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 7955b6c0c1b..d237b359b62 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udp_usrreq.c,v 1.4 1996/04/21 22:29:03 deraadt Exp $ */
+/* $OpenBSD: udp_usrreq.c,v 1.5 1996/05/02 23:34:11 deraadt Exp $ */
/* $NetBSD: udp_usrreq.c,v 1.28 1996/03/16 23:54:03 christos Exp $ */
/*
@@ -69,11 +69,7 @@
* UDP protocol implementation.
* Per RFC 768, August, 1980.
*/
-#ifndef COMPAT_42
int udpcksum = 1;
-#else
-int udpcksum = 0; /* XXX */
-#endif
struct sockaddr_in udp_in = { sizeof(udp_in), AF_INET };