support for parsing DHCP option 43, Vendor-Specific information

David Dombrowsky david.dombrowsky at redlion.net
Tue Apr 10 19:24:51 UTC 2012


I have a setup where I'm using busybox's udhcpc to act on messages
returned from a dnsmasq-based DHCP server.  I added the code to
request for option 43 (0x2b).  I thought it would be as simple as
adding it to the list, but the format of the encapsulated data does
not seem to be parsed by udhcpc.

The data in option 43 "Vendor-Specific information" is in the format

<Option43>  ::= 0x2b | <length> | <sub-option1> | <sub-option2> |..
| 0xFF |
<sub-option> ::= <option-id> <length> <contents>


There is no option type for this format in common.h.  Is there a
patch for this feature?  If I do implement it, would it be useful to
anyone else?

-- 
David Dombrowsky, Software Engineer
Sixnet, a Red Lion business | www.sixnet.com
+1 (518) 877‐5173 x161 office
VHVlIEFwciAxMCAwMDowMDowMSBFRFQgMjAxMgo=


More information about the busybox mailing list