summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-05-02 23:34:11 +0000
committerderaadt <deraadt@openbsd.org>1996-05-02 23:34:11 +0000
commit0282326d7d5d473a304792eaa58946fc7892d6df (patch)
tree5de947922d42c2dee0fcc871846870b0441fb877 /sys/netinet/udp_usrreq.c
parentmake these work together (diff)
downloadwireguard-openbsd-0282326d7d5d473a304792eaa58946fc7892d6df.tar.xz
wireguard-openbsd-0282326d7d5d473a304792eaa58946fc7892d6df.zip
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 };