Correctly set the Maximum DHCP Message Size. bootpd now works

again as well as ISC dhcpd.
This commit is contained in:
Paul Saab 2000-06-13 09:32:09 +00:00
parent 65cbb03cfe
commit fb27899f3b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61619
2 changed files with 2 additions and 2 deletions

View File

@ -847,8 +847,8 @@ bootpc_init(void)
*/
call.vend[j++]=57;
call.vend[j++]=2;
call.vend[j++]=(1200) % 256;
call.vend[j++]=(1200) / 256;
call.vend[j++]=(1200) % 256;
call.vend[j++]=255;

View File

@ -847,8 +847,8 @@ bootpc_init(void)
*/
call.vend[j++]=57;
call.vend[j++]=2;
call.vend[j++]=(1200) % 256;
call.vend[j++]=(1200) / 256;
call.vend[j++]=(1200) % 256;
call.vend[j++]=255;