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 /tools | |
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 'tools')
-rw-r--r-- | tools/dhcp-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dhcp-test.c b/tools/dhcp-test.c index 1fbf1f9d..18527c88 100644 --- a/tools/dhcp-test.c +++ b/tools/dhcp-test.c @@ -170,7 +170,7 @@ int main(int argc, char *argv[]) timer = g_timer_new(); - g_dhcp_client_start(dhcp_client); + g_dhcp_client_start(dhcp_client, NULL); memset(&sa, 0, sizeof(sa)); sa.sa_handler = sig_term; |