diff options
author | tk.mun <tk.mun@samsung.com> | 2011-10-13 22:58:55 +0900 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2011-11-07 17:15:19 -0800 |
commit | ed21633a5e81f7bb9688da98bc9ea9b08b6bce20 (patch) | |
tree | 5969d35022b6c1feea6edcf373e3dcf518853fcd /libnetutils/dhcp_utils.c | |
parent | 6182d031d7a1968c2edc8862bb5a9bc5bc8922e9 (diff) | |
download | system_core-ed21633a5e81f7bb9688da98bc9ea9b08b6bce20.zip system_core-ed21633a5e81f7bb9688da98bc9ea9b08b6bce20.tar.gz system_core-ed21633a5e81f7bb9688da98bc9ea9b08b6bce20.tar.bz2 |
Wimax: wimax related changes for libnetutils
- Modified dhcp renew code for the new conenctivity changes in ICS
Change-Id: I614dfc62a875b79dbd8b7c46f4d87f366a3c3661
Signed-off-by: tk.mun <tk.mun@samsung.com>
bug:5486930
Diffstat (limited to 'libnetutils/dhcp_utils.c')
-rwxr-xr-x[-rw-r--r--] | libnetutils/dhcp_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetutils/dhcp_utils.c b/libnetutils/dhcp_utils.c index 3ab5d1b..1e08eb6 100644..100755 --- a/libnetutils/dhcp_utils.c +++ b/libnetutils/dhcp_utils.c @@ -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); |