Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 2017 07:39:21 +0000 (UTC)
From:      Toomas Soome <tsoome@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r324717 - head/sys/boot/libsa
Message-ID:  <201710180739.v9I7dLJM005982@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tsoome
Date: Wed Oct 18 07:39:21 2017
New Revision: 324717
URL: https://svnweb.freebsd.org/changeset/base/324717

Log:
  libsa/ip.c: misplaced comment, ip_v is half char, not ip_p
  
  The comment should be at previous line.
  
  Reported by:	Dan McDonald

Modified:
  head/sys/boot/libsa/ip.c

Modified: head/sys/boot/libsa/ip.c
==============================================================================
--- head/sys/boot/libsa/ip.c	Wed Oct 18 07:27:43 2017	(r324716)
+++ head/sys/boot/libsa/ip.c	Wed Oct 18 07:39:21 2017	(r324717)
@@ -229,8 +229,8 @@ readipv4(struct iodesc *d, void **pkt, void **payload,
 	}
 
 	/* Check ip header */
-	if (ip->ip_v != IPVERSION ||
-	    ip->ip_p != proto) {	/* half char */
+	if (ip->ip_v != IPVERSION ||	/* half char */
+	    ip->ip_p != proto) {
 #ifdef NET_DEBUG
 		if (debug) {
 			printf("readip: IP version or proto. ip_v=%d ip_p=%d\n",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710180739.v9I7dLJM005982>