From e5ba526b5bd39f3575669d480098aa0a3cc86dae Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sat, 26 Aug 2006 23:20:44 +0000 Subject: [PATCH] More uip_ipaddr_t fixes. --- apps/netconf/netconf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/netconf/netconf.c b/apps/netconf/netconf.c index 27435abc9..36ae61710 100644 --- a/apps/netconf/netconf.c +++ b/apps/netconf/netconf.c @@ -29,7 +29,7 @@ * * This file is part of the Contiki desktop environment * - * $Id: netconf.c,v 1.2 2006/08/21 21:42:40 oliverschmidt Exp $ + * $Id: netconf.c,v 1.3 2006/08/26 23:20:44 oliverschmidt Exp $ * */ @@ -114,7 +114,7 @@ makestrings(void) { u16_t addr[2], *addrptr; - uip_gethostaddr(&addr); + uip_gethostaddr((uip_ipaddr_t *)addr); makeaddr(addr, ipaddr); #ifdef WITH_ETHERNET @@ -147,7 +147,7 @@ apply_tcpipconfig(void) nullterminate(ipaddr); if(uiplib_ipaddrconv(ipaddr, (unsigned char *)addr)) { - uip_sethostaddr(addr); + uip_sethostaddr((uip_ipaddr_t *)addr); } #ifdef WITH_ETHERNET