diff --git a/examples/ipv6/native-border-router/Makefile b/examples/ipv6/native-border-router/Makefile index 687319367..b28c0dc73 100644 --- a/examples/ipv6/native-border-router/Makefile +++ b/examples/ipv6/native-border-router/Makefile @@ -6,7 +6,7 @@ CONTIKI=../../.. WITH_UIP6=1 UIP_CONF_IPV6=1 -CFLAGS+= -DUIP_CONF_IPV6_RPL +CFLAGS+= -DUIP_CONF_IPV6_RPL -DUIP_CONF_IPV6 -DWITH_UIP6 #linker optimizations SMALL=1 diff --git a/examples/ipv6/native-border-router/slip-dev.c b/examples/ipv6/native-border-router/slip-dev.c index a38c6a0c3..8aabbe528 100644 --- a/examples/ipv6/native-border-router/slip-dev.c +++ b/examples/ipv6/native-border-router/slip-dev.c @@ -176,7 +176,7 @@ slip_packet_input(unsigned char *data, int len) void serial_input(FILE *inslip) { - unsigned char inbuf[2048]; + static unsigned char inbuf[2048]; static int inbufptr = 0; int ret,i; unsigned char c;