From: deraadt Date: Thu, 2 May 1996 23:34:11 +0000 (+0000) Subject: udpcksum should never be off in the modern world X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0282326d7d5d473a304792eaa58946fc7892d6df;p=openbsd udpcksum should never be off in the modern world --- 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 };