am c761b54e: Merge "Wimax: wimax related changes for libnetutils" into ics-mr1

* commit 'c761b54ead5ec3f22fafb7ce50dd5c5a1939b03f':
  Wimax: wimax related changes for libnetutils
This commit is contained in:
Robert Greenwalt 2011-11-08 18:03:47 +00:00 committed by Android Git Automerger
commit 39b6df11dc

4
libnetutils/dhcp_utils.c Normal file → Executable file
View file

@ -293,7 +293,7 @@ char *dhcp_get_errmsg() {
int dhcp_do_request_renew(const char *interface,
in_addr_t *ipaddr,
in_addr_t *gateway,
in_addr_t *mask,
uint32_t *prefixLength,
in_addr_t *dns1,
in_addr_t *dns2,
in_addr_t *server,
@ -333,7 +333,7 @@ int dhcp_do_request_renew(const char *interface,
return -1;
}
if (strcmp(prop_value, "ok") == 0) {
fill_ip_info(interface, ipaddr, gateway, mask, dns1, dns2, server, lease);
fill_ip_info(interface, ipaddr, gateway, prefixLength, dns1, dns2, server, lease);
return 0;
} else {
snprintf(errmsg, sizeof(errmsg), "DHCP Renew result was %s", prop_value);