Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys Brain'o in last. Pointed out by Steve Woodford <scw@net...



details:   https://anonhg.NetBSD.org/src/rev/cedb083607d2
branches:  trunk
changeset: 510101:cedb083607d2
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat May 19 14:20:40 2001 +0000

description:
Brain'o in last.  Pointed out by Steve Woodford <scw%netbsd.org@localhost>.

diffstat:

 sys/arch/alpha/alpha/in_cksum.c |  6 +++---
 sys/netinet/in4_cksum.c         |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 71f7827f30d7 -r cedb083607d2 sys/arch/alpha/alpha/in_cksum.c
--- a/sys/arch/alpha/alpha/in_cksum.c   Sat May 19 12:04:07 2001 +0000
+++ b/sys/arch/alpha/alpha/in_cksum.c   Sat May 19 14:20:40 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in_cksum.c,v 1.10 2001/05/19 00:30:35 thorpej Exp $ */
+/* $NetBSD: in_cksum.c,v 1.11 2001/05/19 14:21:13 thorpej Exp $ */
 
 /*
  * Copyright (c) 1988, 1992, 1993
@@ -39,7 +39,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: in_cksum.c,v 1.10 2001/05/19 00:30:35 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_cksum.c,v 1.11 2001/05/19 14:21:13 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/mbuf.h>
@@ -211,7 +211,7 @@
        union l_util l_util; 
        struct ipovly ipov;
 
-       if (nxt == 0) {
+       if (nxt != 0) {
                /* pseudo header */
                if (off < sizeof(struct ipovly))
                        panic("in4_cksum: offset too short");
diff -r 71f7827f30d7 -r cedb083607d2 sys/netinet/in4_cksum.c
--- a/sys/netinet/in4_cksum.c   Sat May 19 12:04:07 2001 +0000
+++ b/sys/netinet/in4_cksum.c   Sat May 19 14:20:40 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in4_cksum.c,v 1.5 2001/05/19 00:13:53 thorpej Exp $    */
+/*     $NetBSD: in4_cksum.c,v 1.6 2001/05/19 14:20:40 thorpej Exp $    */
 
 /*
  * Copyright (C) 1999 WIDE Project.
@@ -109,7 +109,7 @@
                u_int32_t l;
        } l_util;
 
-       if (nxt == 0) {
+       if (nxt != 0) {
                /* pseudo header */
                if (off < sizeof(struct ipovly))
                        panic("in4_cksum: offset too short");



Home | Main Index | Thread Index | Old Index