From 35c28608bf3dc31bab8cd6c2579739643e0145d8 Mon Sep 17 00:00:00 2001 From: Irfan Sheriff Date: Wed, 9 Nov 2011 11:10:50 -0800 Subject: Fix dhcp comments Change-Id: Ia99b2c10ff6cf8c75c23db49f1e9cf7a043141cc --- libnetutils/dhcp_utils.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'libnetutils') diff --git a/libnetutils/dhcp_utils.c b/libnetutils/dhcp_utils.c index 3ab5d1b..40f5495 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_ /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_ /system/bin/dhcpcd -n + * */ int dhcp_do_request_renew(const char *interface, in_addr_t *ipaddr, -- cgit v1.1