This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NDK and DHCP option 21 (HOSTNAME)

Hi,

 I'm using TI-RTOS 2.10.01.38 for TivaC with the included NDK 2.24.01.18 and I would like to get the hostname provided by the DHCP server via option 21 in my application. However, as noted in this post earlier,  option 21 is set to be ignored in dhcptags.c. I could modify dhcptags.c, however I plan to release/share the source of my project and so I can't redistribute TI-RTOS source, so a solution that requires modification of the NDK source isn't going to work for me.

Is there some other method that I can use to get the DHCP assigned hostname? Honestly, I can't understand why the NDK developers would choose that ONE DHCP option to ignore (unless the information is stashed elsewhere somehow). 

Any help is appreciated.

-d