From cdba557e5e3c328c0b0f49580d722a02a5924486 Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Fri, 9 Aug 2013 12:48:29 +0100 Subject: [PATCH] Don't build the Sensinode UDP server as RPL root The Sensinode UDP-IPv6 example used to build the UDP server to act as RPL root by default. This now changes, the server is a simple router. Support to build the server as RPL root is still there, it's just the default that changes --- examples/sensinode/udp-ipv6/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/sensinode/udp-ipv6/server.c b/examples/sensinode/udp-ipv6/server.c index d569d1102..5033d8ac1 100644 --- a/examples/sensinode/udp-ipv6/server.c +++ b/examples/sensinode/udp-ipv6/server.c @@ -58,7 +58,7 @@ static uint16_t len; #define SERVER_REPLY 1 /* Should we act as RPL root? */ -#define SERVER_RPL_ROOT 1 +#define SERVER_RPL_ROOT 0 #if SERVER_RPL_ROOT static uip_ipaddr_t ipaddr;