[Dnsmasq-discuss] string dhcp options

Matthias Lay matthias.lay at securepoint.de
Tue Jun 11 12:11:55 UTC 2024


thx for the hints. got the rfc


Options containing NVT ASCII data SHOULD
   NOT include a trailing NULL; however, the receiver of such options
   MUST be prepared to delete trailing nulls if they exist.  The
   receiver MUST NOT require that a trailing null be included in the
   data.  In the case of some variable-length options the length field
   is a constant but must still be specified.


just seemed strange to me, to give a length AND a null terminated
string in the dhcp options field.
Thx for your clarification

Greetz Matze




More information about the Dnsmasq-discuss mailing list