More uip_ipaddr_t fixes.
This commit is contained in:
parent
a6d9a8d5dd
commit
e5ba526b5b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue