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:
commit
39b6df11dc
1 changed files with 2 additions and 2 deletions
4
libnetutils/dhcp_utils.c
Normal file → Executable file
4
libnetutils/dhcp_utils.c
Normal file → Executable 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);
|
||||
|
|
Loading…
Reference in a new issue