From owner-svn-src-all@freebsd.org Sat May 27 11:41:55 2017 Return-Path: Delivered-To: svn-src-all@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 BBD4DD84793; Sat, 27 May 2017 11:41:55 +0000 (UTC) (envelope-from bapt@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 8B795163A; Sat, 27 May 2017 11:41:55 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4RBfsrI074330; Sat, 27 May 2017 11:41:54 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4RBfsEk074329; Sat, 27 May 2017 11:41:54 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201705271141.v4RBfsEk074329@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Sat, 27 May 2017 11:41:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r318986 - head/lib/libstand X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2017 11:41:55 -0000 Author: bapt Date: Sat May 27 11:41:54 2017 New Revision: 318986 URL: https://svnweb.freebsd.org/changeset/base/318986 Log: add a comment on vendor index 19 and 20 to avoid confusion Suggested by: tsoome Modified: head/lib/libstand/bootp.c Modified: head/lib/libstand/bootp.c ============================================================================== --- head/lib/libstand/bootp.c Sat May 27 11:25:21 2017 (r318985) +++ head/lib/libstand/bootp.c Sat May 27 11:41:54 2017 (r318986) @@ -147,7 +147,9 @@ bootp(int sock, int flag) bp->bp_vend[8] = 9; bcopy("PXEClient", &bp->bp_vend[9], 9); bp->bp_vend[18] = TAG_USER_CLASS; + /* len of each user class + number of user class */ bp->bp_vend[19] = 8; + /* len of the first user class */ bp->bp_vend[20] = 7; bcopy("FREEBSD", &bp->bp_vend[21], 7); bp->bp_vend[28] = TAG_PARAM_REQ;