Hi,

changes in v3:
- Do not send REQUESTED IP option in resend because
  the non-authoritative server case will drop those
  packets

changes in v2:
- 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    |   27 +++++++++++++++++++++++----
 gdhcp/gdhcp.h     |    2 +-
 src/connman.h     |    3 +++
 src/dhcp.c        |   23 ++++++++++++++++++++++-
 src/ipconfig.c    |   40 +++++++++++++++++++++++++++++++++++++++-
 tools/dhcp-test.c |    2 +-
 6 files changed, 89 insertions(+), 8 deletions(-)

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to