summaryrefslogtreecommitdiff
path: root/nuttx/examples/uip
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-08-10 16:39:34 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-08-10 16:39:34 +0000
commit9c8366a2361bbdb1bfe972ea583f5a28b54d8127 (patch)
treeeaea3f1d81289f66c33b3ddb649262949782fbe7 /nuttx/examples/uip
parent6fd590ce3bd9e85b121402ee44f47b0207d98e3e (diff)
downloadpx4-nuttx-9c8366a2361bbdb1bfe972ea583f5a28b54d8127.tar.gz
px4-nuttx-9c8366a2361bbdb1bfe972ea583f5a28b54d8127.tar.bz2
px4-nuttx-9c8366a2361bbdb1bfe972ea583f5a28b54d8127.zip
Lease time is now in host order
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2839 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/uip')
-rw-r--r--nuttx/examples/uip/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/examples/uip/main.c b/nuttx/examples/uip/main.c
index d5df1f807..39f451a26 100644
--- a/nuttx/examples/uip/main.c
+++ b/nuttx/examples/uip/main.c
@@ -170,7 +170,9 @@ int user_start(int argc, char *argv[])
handle = dhcpc_open(&mac, IFHWADDRLEN);
- /* Get an IP address */
+ /* Get an IP address. Note: there is no logic here for renewing the address in this
+ * example. The address should be renewed in ds.lease_time/2 seconds.
+ */
printf("Getting IP address\n");
if (handle)