From 78043e4d24c5973eeeacde99493c5a9049045583 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Thu, 29 Mar 2007 22:25:39 +0000 Subject: [PATCH] Set an appropriate IP node address --- platform/netsim/node.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/netsim/node.c b/platform/netsim/node.c index a690c6a6b..26e1f14cf 100644 --- a/platform/netsim/node.c +++ b/platform/netsim/node.c @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $Id: node.c,v 1.6 2007/03/28 20:15:39 adamdunkels Exp $ + * $Id: node.c,v 1.7 2007/03/29 22:25:39 adamdunkels Exp $ */ #include "node.h" #include "contiki.h" @@ -59,7 +59,7 @@ node_init(int id, int posx, int posy, int b) /* node.type = NODE_TYPE_NORMAL;*/ if(b) { - uip_ipaddr(&addr, 192,168,2,2); + uip_ipaddr(&addr, 192,168,1,2); } else { uip_ipaddr(&addr, 172,16,posx,posy);