From ea090a60e6f99c9727318ee1420f45598aa8f07a Mon Sep 17 00:00:00 2001 From: nifi Date: Wed, 17 Mar 2010 07:10:25 +0000 Subject: [PATCH] Fixed to call the SLIP callback function also when using IPv6 --- core/dev/slip.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/dev/slip.c b/core/dev/slip.c index 507a3747d..17380c479 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.9 2010/03/10 22:30:39 nifi Exp $ + * @(#)$Id: slip.c,v 1.10 2010/03/17 07:10:25 nifi Exp $ */ @@ -266,6 +266,9 @@ PROCESS_THREAD(slip_process, ev, data) } #else /* UIP_CONF_IPV6 */ if(uip_len > 0) { + if(input_callback) { + input_callback(); + } tcpip_input(); } #endif /* UIP_CONF_IPV6 */