svn commit: r318986 - head/lib/libstand
Baptiste Daroussin
bapt at FreeBSD.org
Sat May 27 11:41:55 UTC 2017
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;
More information about the svn-src-head
mailing list