Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2016 18:24:02 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r297866 - head/libexec/bootpd
Message-ID:  <201604121824.u3CIO2pk094089@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Tue Apr 12 18:24:02 2016
New Revision: 297866
URL: https://svnweb.freebsd.org/changeset/base/297866

Log:
  Restore some comments in previous commit.

Modified:
  head/libexec/bootpd/readfile.c

Modified: head/libexec/bootpd/readfile.c
==============================================================================
--- head/libexec/bootpd/readfile.c	Tue Apr 12 18:18:26 2016	(r297865)
+++ head/libexec/bootpd/readfile.c	Tue Apr 12 18:24:02 2016	(r297866)
@@ -428,7 +428,7 @@ readtab(force)
 		if (hp->flags.iaddr) {
 			nhosts++;
 		}
-		/* by HW addr if known. */
+		/* Register by HW addr if known. */
 		if (hp->flags.htype && hp->flags.haddr) {
 			/* We will either insert it or free it. */
 			hp->linkcount++;
@@ -441,7 +441,7 @@ readtab(force)
 				continue;
 			}
 		}
-		/* by IP addr if known. */
+		/* Register by IP addr if known. */
 		if (hp->flags.iaddr) {
 			hashcode = hash_HashFunction((u_char *) & (hp->iaddr.s_addr), 4);
 			if (hash_Insert(iphashtable, hashcode, nullcmp, hp, hp) < 0) {
@@ -452,7 +452,7 @@ readtab(force)
 				hp->linkcount++;
 			}
 		}
-		/* by Name (always known) */
+		/* Register by Name (always known) */
 		hashcode = hash_HashFunction((u_char *) hp->hostname->string,
 									 strlen(hp->hostname->string));
 		if (hash_Insert(nmhashtable, hashcode, nullcmp,



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