Increase the buffer size to hold a bootp/DHCP reply from 256 bytes to
1222 bytes (derived as the maximum that isc-dhcpd uses). This solves the problem if a bootp/DHCP reply is over 256 bytes in which the end of the bootp/DHCP reply will not be found and then the reply will be ignored. This happens when swap and root paths are longish or many parameters are set. Reviewed by: imp Approved by: imp
This commit is contained in:
parent
58878b8a68
commit
236f9adc78
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88680
@ -101,7 +101,7 @@ struct bootp_packet {
|
||||
unsigned char chaddr[16];
|
||||
char sname[64];
|
||||
char file[128];
|
||||
unsigned char vend[256];
|
||||
unsigned char vend[1222];
|
||||
};
|
||||
|
||||
struct bootpc_ifcontext {
|
||||
|
Loading…
Reference in New Issue
Block a user