I just noticed that this patch is not yet ready. I missed the
non-authoritative server case where the server ignores the request with
REQUESTED IP option. I will send a new version soonish.
Jukka
On 07/27/2011 01:58 PM, Jukka Rissanen wrote:
Hi,
changes in this v2 patch:
- The IP address is saved in ipconfig instead of service
- I also merged three patches to one so that they do not
break the build.
The following patchset fixes the problem in bug #21068
https://bugs.meego.com/show_bug.cgi?id=21068
We suggest the DHCP server to give us the IP address we had
last time. This is done by sending the DHCP REQUESTED IP option
to server.
Regards,
Jukka
Jukka Rissanen (2):
ipconfig: Remember last DHCP IP address.
dhcp: Try to reuse the IP address we had last time.
gdhcp/client.c | 22 ++++++++++++++++++----
gdhcp/gdhcp.h | 2 +-
src/connman.h | 3 +++
src/dhcp.c | 23 ++++++++++++++++++++++-
src/ipconfig.c | 40 +++++++++++++++++++++++++++++++++++++++-
tools/dhcp-test.c | 2 +-
6 files changed, 84 insertions(+), 8 deletions(-)
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman