0

RFC 1553 (DHCP Options) states: 3.2. End Option

 The end option marks the end of valid information in the vendor
   field.  Subsequent octets should be filled with pad options.

   The code for the end option is 255, and its length is 1 octet.

    Code
   +-----+
   | 255 |
   +-----+

https://www.rfc-editor.org/rfc/rfc1533#page-2

What does it mean to fill subsequent octets with pad options? How many of the subsequent octets should be filled? I cannot recognize any logical system when examining wireshark packets.

  • Based on a plain reading of the standard, you can add as much or as little padding as you like. You don't need any at all, it is presumably allowed for your convenience in case you want to make the vendor field constant length or to align the following field to a word or doubleword boundary. – Harry Johnston Jul 25 '19 at 08:54
  • Thanks for the information! – TheProgrammer Jul 25 '19 at 08:59

0 Answers0