mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
fixed to work with IPv6
This commit is contained in:
parent
b422ef90ad
commit
58c55340ed
@ -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 */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user