summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-12-11 22:07:18 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-12-11 22:07:18 +0000
commit4e5e119fd3ebb29efe6a936b6baa83b00e9b5de1 (patch)
treedc0bf00f247d5b7d2a3b2edea266a3fac55f0e94 /nuttx/include
parent33853ba88160a33504eb961a6582ee4048a50dae (diff)
downloadpx4-nuttx-4e5e119fd3ebb29efe6a936b6baa83b00e9b5de1.tar.gz
px4-nuttx-4e5e119fd3ebb29efe6a936b6baa83b00e9b5de1.tar.bz2
px4-nuttx-4e5e119fd3ebb29efe6a936b6baa83b00e9b5de1.zip
DHCPC logic changes - should now handle case with multiple DHCP servers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@446 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/net/uip/dhcpc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/net/uip/dhcpc.h b/nuttx/include/net/uip/dhcpc.h
index 606d818b0..a5d86da9d 100644
--- a/nuttx/include/net/uip/dhcpc.h
+++ b/nuttx/include/net/uip/dhcpc.h
@@ -55,7 +55,7 @@
struct dhcpc_state
{
uint16 lease_time[2];
- uint8 serverid[4];
+ struct in_addr serverid;
struct in_addr ipaddr;
struct in_addr netmask;
struct in_addr dnsaddr;