changed to use constant instead of numeric value
This commit is contained in:
parent
51f38adaf4
commit
8ed2e44003
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Adam Dunkels <adam@sics.se>
|
* Author: Adam Dunkels <adam@sics.se>
|
||||||
*
|
*
|
||||||
* $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"
|
#include "contiki-conf.h"
|
||||||
|
@ -82,7 +82,7 @@ packet_input(void)
|
||||||
{
|
{
|
||||||
if(uip_len > 0) {
|
if(uip_len > 0) {
|
||||||
if(forwarding) {
|
if(forwarding) {
|
||||||
if(uip_fw_forward() == 0) {
|
if(uip_fw_forward() == UIP_FW_LOCAL) {
|
||||||
uip_input();
|
uip_input();
|
||||||
if(uip_len > 0) {
|
if(uip_len > 0) {
|
||||||
#if UIP_CONF_TCP_SPLIT
|
#if UIP_CONF_TCP_SPLIT
|
||||||
|
|
Loading…
Reference in a new issue