diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-08-10 16:39:34 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-08-10 16:39:34 +0000 |
commit | 9c8366a2361bbdb1bfe972ea583f5a28b54d8127 (patch) | |
tree | eaea3f1d81289f66c33b3ddb649262949782fbe7 /nuttx/examples/uip/main.c | |
parent | 6fd590ce3bd9e85b121402ee44f47b0207d98e3e (diff) | |
download | nuttx-9c8366a2361bbdb1bfe972ea583f5a28b54d8127.tar.gz nuttx-9c8366a2361bbdb1bfe972ea583f5a28b54d8127.tar.bz2 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/main.c')
-rw-r--r-- | nuttx/examples/uip/main.c | 4 |
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) |