On 07/01/16 02:38, Aun-Ali Zaidi wrote:
From: Tim Cussins
DHCP requests add the hostname option in dhcp_request_req() - this is cool,
except that the dhcp
spec requires that this option has a length >= 1 char.
Excerpt taken from RFC 2132:
3.14. Host Name Option
This option specifi
From: Tim Cussins
DHCP requests add the hostname option in dhcp_request_req() - this is cool,
except that the dhcp
spec requires that this option has a length >= 1 char.
Excerpt taken from RFC 2132:
3.14. Host Name Option
This option specifies the name of the client. The name may or ma
On 04/01/16 12:55, Daniel Gutson wrote:
>
>> +
>> + if ( (hostnamelen > 0) && (hostnamelen < 256) )
Avoid magic numbers. Should this be MAXHOSTNAMELEN, and in any case ot
has been already limited before in the call to gethosname turning the
check unnecessary? (Don't believe me, please
On 27/12/15 23:43, Aun-Ali Zaidi wrote:
From: Tim Cussins
DHCP requests add the hostname option in dhcp_request_req() - this is cool,
except that the dhcp
spec requires that this option has a length >= 1 char.
Excerpt taken from RFC 2132:
3.14. Host Name Option
This option specif
From: Tim Cussins
DHCP requests add the hostname option in dhcp_request_req() - this is cool,
except that the dhcp
spec requires that this option has a length >= 1 char.
Excerpt taken from RFC 2132:
3.14. Host Name Option
This option specifies the name of the client. The name may or m