From a096ace73e7e4047c257c9c49ab8b8b9fcea2eba Mon Sep 17 00:00:00 2001 From: Joakim Eriksson Date: Sat, 4 May 2013 13:13:08 -0700 Subject: [PATCH] fixed bug causing lots of packet loss --- examples/ipv6/native-border-router/slip-dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;