get_dhcp_opt() didx argument should be passed as a reference rather than relying on the caller re-assigning to didx.  The previous didx += get_dhcp_opt(...) was wrong and should have used =.
get_dhcp_opt() didx argument should be passed as a reference rather
than relying on the caller re-assigning to didx.  The previous
didx += get_dhcp_opt(...) was wrong and should have used =.

niklata/ndhc