From 9c8366a2361bbdb1bfe972ea583f5a28b54d8127 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 10 Aug 2010 16:39:34 +0000 Subject: 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 --- nuttx/examples/uip/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nuttx/examples/uip') 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) -- cgit v1.2.3