aboutsummaryrefslogtreecommitdiff
path: root/libexec/bootpd
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-04-12 18:24:02 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-04-12 18:24:02 +0000
commit9a9048e13d713357bf11f64a276385403df70396 (patch)
tree01ea354e827c20d317943931aaf33d7c01786f48 /libexec/bootpd
parent07ee9f80d73118450375bd991c5cabb8c85bd7a2 (diff)
downloadsrc-9a9048e13d713357bf11f64a276385403df70396.tar.gz
src-9a9048e13d713357bf11f64a276385403df70396.zip
Restore some comments in previous commit.
Notes
Notes: svn path=/head/; revision=297866
Diffstat (limited to 'libexec/bootpd')
-rw-r--r--libexec/bootpd/readfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/bootpd/readfile.c b/libexec/bootpd/readfile.c
index 3c151be6268a..900d0377279f 100644
--- a/libexec/bootpd/readfile.c
+++ b/libexec/bootpd/readfile.c
@@ -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,