From 58c55340eddc99a384893509bfa5dd3cacd7d5a8 Mon Sep 17 00:00:00 2001 From: nifi Date: Wed, 10 Mar 2010 22:30:39 +0000 Subject: [PATCH] fixed to work with IPv6 --- core/dev/slip.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/dev/slip.c b/core/dev/slip.c index 73c4fdf97..507a3747d 100644 --- a/core/dev/slip.c +++ b/core/dev/slip.c @@ -29,7 +29,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: slip.c,v 1.8 2008/11/06 08:18:29 adamdunkels Exp $ + * @(#)$Id: slip.c,v 1.9 2010/03/10 22:30:39 nifi Exp $ */ @@ -264,6 +264,10 @@ PROCESS_THREAD(slip_process, ev, data) uip_len = 0; SLIP_STATISTICS(slip_ip_drop++); } +#else /* UIP_CONF_IPV6 */ + if(uip_len > 0) { + tcpip_input(); + } #endif /* UIP_CONF_IPV6 */ }