meghs94 / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
1 stars 0 forks source link

[patch] Dhcp6Client waits unnecessarily long between ADVERTISE and REQUEST #66

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
After the Dhcp6Client has received an ADVERTISE message, it records the server 
address and transitions its state into send-request. However, it doesn't 
actually send the request message until the next 15sec interval comes around. 
This means that it takes at least 15sec to obtain an address, despite the fact 
that the Dhcp6Client won't accept any further ADVERTISE messages in the 
meantime.

As the client has already made its server decision as soon as it receives the 
first ADVERTISE, the attached trivial patch lowers the time-to-request to one 
second (minimum permitted by RFC 3315).

Original issue reported on code.google.com by jmatts...@dius.com.au on 16 Sep 2011 at 1:15

Attachments:

GoogleCodeExporter commented 8 years ago
Committed in @5742

Original comment by sdh...@gmail.com on 16 Sep 2011 at 1:48