meghs94 / tinyos-main

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

[patch] Dhcp6Client issues IPAddress.setAddress() even on RENEW #65

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
As the summary says, the Dhcp6Client issues an IPAddress.setAddress() even when 
the address has just been renewed, rather than when it has been potentially 
changed. Depending on the application, this can result in a lot of unnecessary 
work being performed (such as re-registration upstream, etc).

The attached (trivial) patch changes the Dhcp6Client to not (re)set the IP 
address in response to RENEW confirmations - by definition the address cannot 
have changed at this point.

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

Attachments:

GoogleCodeExporter commented 8 years ago
Accepted @5742

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