aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-05-27 11:41:54 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-05-27 11:41:54 +0000
commitb2390b67da76aeccd2379d5c673fd0fa0fbe405e (patch)
tree79e7ef0db7fd491da4e7e300268eff390f5603f9 /lib
parent6180f83d950e8dede614f530d690473db794936d (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libstand/bootp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libstand/bootp.c b/lib/libstand/bootp.c
index 48e344e95929..365726e61dac 100644
--- a/lib/libstand/bootp.c
+++ b/lib/libstand/bootp.c
@@ -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;