mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 08:43:23 +00:00
Correctly set the Maximum DHCP Message Size. bootpd now works
again as well as ISC dhcpd.
This commit is contained in:
parent
65cbb03cfe
commit
fb27899f3b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61619
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user