Hi Agnieszka,

thanks for your patch! I modified it to check for the case where number of 
bytes == 0 and commited.

Regards,
Jiri


Od: Agnieszka Tabaka
Komu: HelenOS development mailing list <[email protected]>
Datum: 25. 6. 2014 0:06:04
Předmět: [HelenOS-devel] DHCP multiple DNS servers patch

"



Hi all,


I found that if one specify more than one DNS server in DHCP server 
configuration, HelenOS cannot aquire IP address due to check for opt_size ==
4 at opt_dns_server in dhcp.c. It seems that opt_size in that case can be 
any multiple of 4. I created a small patch which allows that.

However, dhcp_offer_t has room only for one DNS server address, so for now 
the first one is picked up and others are discarded 


"
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to