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
This commit is contained in:
parent
f30d92b101
commit
cdba557e5e
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ static uint16_t len;
|
||||||
#define SERVER_REPLY 1
|
#define SERVER_REPLY 1
|
||||||
|
|
||||||
/* Should we act as RPL root? */
|
/* Should we act as RPL root? */
|
||||||
#define SERVER_RPL_ROOT 1
|
#define SERVER_RPL_ROOT 0
|
||||||
|
|
||||||
#if SERVER_RPL_ROOT
|
#if SERVER_RPL_ROOT
|
||||||
static uip_ipaddr_t ipaddr;
|
static uip_ipaddr_t ipaddr;
|
||||||
|
|
Loading…
Reference in a new issue