From owner-svn-src-head@freebsd.org Tue Apr 12 18:24:03 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC389B0E47E; Tue, 12 Apr 2016 18:24:03 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92883166C; Tue, 12 Apr 2016 18:24:03 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3CIO2VP094090; Tue, 12 Apr 2016 18:24:02 GMT (envelope-from pfg@FreeBSD.org) Received: (from pfg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3CIO2pk094089; Tue, 12 Apr 2016 18:24:02 GMT (envelope-from pfg@FreeBSD.org) Message-Id: <201604121824.u3CIO2pk094089@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pfg set sender to pfg@FreeBSD.org using -f From: "Pedro F. Giffuni" Date: Tue, 12 Apr 2016 18:24:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r297866 - head/libexec/bootpd X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2016 18:24:03 -0000 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,