Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2017 11:41:54 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r318986 - head/lib/libstand
Message-ID:  <201705271141.v4RBfsEk074329@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



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