From e7bc74a9d059ef8b9d665c9de459e954351e4f22 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sat, 26 May 2007 23:12:56 +0000 Subject: [PATCH] Changed packet drivers from services to plain processes. Now tcpip_output() is a function pointer that is supposed to be set via the macro tcpip_set_outputfunc(). Packet drivers do so on process startup. Thus if there are several packet drivers in a Contiki system the one started last is the one actually used. This behaviour is especially useful for the 'IP forwarding' "meta" packet driver. --- platform/stepper-robot/robot-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/stepper-robot/robot-main.c b/platform/stepper-robot/robot-main.c index e6e8b87d2..5f3beaebb 100644 --- a/platform/stepper-robot/robot-main.c +++ b/platform/stepper-robot/robot-main.c @@ -5,7 +5,7 @@ #include #include #include -#include "net/uip-fw-service.h" +#include "net/uip-fw-drv.h" #include "net/uaodv.h" #include #include