summaryrefslogtreecommitdiffstats
path: root/libnetutils
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2011-11-09 13:42:27 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-11-09 13:42:27 -0800
commitda96a66b88520d8414f30d0eab9eaf1630d374f7 (patch)
tree94cb84eeb9f1a19a563665ac7e318ab8a8a69db2 /libnetutils
parent9323c853ea2b1336d66909240de5aa87fc3ca6b7 (diff)
parent35c28608bf3dc31bab8cd6c2579739643e0145d8 (diff)
downloadcore-da96a66b88520d8414f30d0eab9eaf1630d374f7.tar.gz
core-da96a66b88520d8414f30d0eab9eaf1630d374f7.tar.bz2
core-da96a66b88520d8414f30d0eab9eaf1630d374f7.zip
Merge "Fix dhcp comments"
Diffstat (limited to 'libnetutils')
-rw-r--r--[-rwxr-xr-x]libnetutils/dhcp_utils.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/libnetutils/dhcp_utils.c b/libnetutils/dhcp_utils.c
index 1e08eb632..d18931b23 100755..100644
--- a/libnetutils/dhcp_utils.c
+++ b/libnetutils/dhcp_utils.c
@@ -145,6 +145,11 @@ void get_daemon_suffix(const char *interface, char *daemon_suffix) {
/*
* Start the dhcp client daemon, and wait for it to finish
* configuring the interface.
+ *
+ * The device init.rc file needs a corresponding entry for this work.
+ *
+ * Example:
+ * service dhcpcd_<interface> /system/bin/dhcpcd -ABKL
*/
int dhcp_do_request(const char *interface,
char *ipaddr,
@@ -287,8 +292,11 @@ char *dhcp_get_errmsg() {
}
/**
- * Run WiMAX dhcp renew service.
- * "wimax_renew" service shoud be included in init.rc.
+ * The device init.rc file needs a corresponding entry.
+ *
+ * Example:
+ * service iprenew_<interface> /system/bin/dhcpcd -n
+ *
*/
int dhcp_do_request_renew(const char *interface,
in_addr_t *ipaddr,