diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2011-07-28 13:20:28 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-08-09 13:22:54 +0200 |
commit | 5b875e36444979b36170cf7074fb3e0f5b970a3e (patch) | |
tree | 87a62ad28048d1a8b3028ea7fbc462d519ffec9b /gdhcp/gdhcp.h | |
parent | d7f9c1d864581aeba3a45b1ddb0e1ad46f5184d1 (diff) | |
download | connman-5b875e36444979b36170cf7074fb3e0f5b970a3e.tar.gz connman-5b875e36444979b36170cf7074fb3e0f5b970a3e.tar.bz2 connman-5b875e36444979b36170cf7074fb3e0f5b970a3e.zip |
dhcp: Try to reuse the IP address we had last time.
This fix will cause the DHCP_REQUESTED_IP option to be sent to
the server.
Fixes BMC #21068
Diffstat (limited to 'gdhcp/gdhcp.h')
-rw-r--r-- | gdhcp/gdhcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdhcp/gdhcp.h b/gdhcp/gdhcp.h index 4f583ff7..d89446e2 100644 --- a/gdhcp/gdhcp.h +++ b/gdhcp/gdhcp.h @@ -73,7 +73,7 @@ typedef void (*GDHCPDebugFunc)(const char *str, gpointer user_data); GDHCPClient *g_dhcp_client_new(GDHCPType type, int index, GDHCPClientError *error); -int g_dhcp_client_start(GDHCPClient *client); +int g_dhcp_client_start(GDHCPClient *client, const char *last_address); void g_dhcp_client_stop(GDHCPClient *client); GDHCPClient *g_dhcp_client_ref(GDHCPClient *client); |