From 8ed2e4400324ae61e38dfc6f4e1eb6bee57f6ba6 Mon Sep 17 00:00:00 2001 From: nifi Date: Fri, 7 Jul 2006 06:45:45 +0000 Subject: [PATCH] changed to use constant instead of numeric value --- core/net/tcpip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/net/tcpip.c b/core/net/tcpip.c index 51fe28e1e..068085477 100644 --- a/core/net/tcpip.c +++ b/core/net/tcpip.c @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $Id: tcpip.c,v 1.1 2006/06/17 22:41:19 adamdunkels Exp $ + * $Id: tcpip.c,v 1.2 2006/07/07 06:45:45 nifi Exp $ */ #include "contiki-conf.h" @@ -82,7 +82,7 @@ packet_input(void) { if(uip_len > 0) { if(forwarding) { - if(uip_fw_forward() == 0) { + if(uip_fw_forward() == UIP_FW_LOCAL) { uip_input(); if(uip_len > 0) { #if UIP_CONF_TCP_SPLIT