diff options
author | Colin Cross <ccross@android.com> | 2013-06-10 21:57:21 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-06-10 21:57:21 +0000 |
commit | c0df50afdb8e738df311c44ab80507b9470070ed (patch) | |
tree | d0cbd13532a50a4250afc92a00109bafdc30a23a /libnetutils | |
parent | 59fa7e107d43a4ef521413ec0bb7b0c2a5525071 (diff) | |
parent | 897df50f4cdc55339261a9fde83d650e7d85f081 (diff) | |
download | system_core-c0df50afdb8e738df311c44ab80507b9470070ed.zip system_core-c0df50afdb8e738df311c44ab80507b9470070ed.tar.gz system_core-c0df50afdb8e738df311c44ab80507b9470070ed.tar.bz2 |
Merge "fix bad return value in dhcp_do_request_*"
Diffstat (limited to 'libnetutils')
-rw-r--r-- | libnetutils/dhcp_utils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libnetutils/dhcp_utils.c b/libnetutils/dhcp_utils.c index b4caaf9..b940453 100644 --- a/libnetutils/dhcp_utils.c +++ b/libnetutils/dhcp_utils.c @@ -367,9 +367,8 @@ int dhcp_do_request_renew(const char *interface, return -1; } if (strcmp(prop_value, "ok") == 0) { - fill_ip_info(interface, ipaddr, gateway, prefixLength, + return fill_ip_info(interface, ipaddr, gateway, prefixLength, dns1, dns2, server, lease, vendorInfo); - return 0; } else { snprintf(errmsg, sizeof(errmsg), "DHCP Renew result was %s", prop_value); return -1; |