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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to