More uip_ipaddr_t fixes.

This commit is contained in:
bg- 2006-08-10 19:22:23 +00:00
parent e8030141f2
commit 9009d8dc06
4 changed files with 18 additions and 18 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: testv6.c,v 1.1 2006/06/17 22:41:25 adamdunkels Exp $
* $Id: testv6.c,v 1.2 2006/08/10 19:22:23 bg- Exp $
*/
#include "contiki-net.h"
@ -48,13 +48,13 @@ PROCESS_THREAD(test_process, ev, data)
PROCESS_BEGIN();
uip_ip6addr(ip6addr, 0xfc00,0,0,0,0,0,0,0x232);
uip_sethostaddr(ip6addr);
uip_ip6addr(&ip6addr, 0xfc00,0,0,0,0,0,0,0x232);
uip_sethostaddr(&ip6addr);
uip_setethaddr(ethaddr);
uip_ip6addr(ip6addr, 0xfc00,0,0,0,0,0,0,0x231);
uip_ip6addr(&ip6addr, 0xfc00,0,0,0,0,0,0,0x231);
tcp_connect(ip6addr, HTONS(7), NULL);
tcp_connect(&ip6addr, HTONS(7), NULL);
while(1) {
PROCESS_WAIT_EVENT();