Fix ip64 warnings

This commit is contained in:
Antonio Lignan 2016-02-04 00:25:53 +01:00
parent 447286197f
commit c924567d86
3 changed files with 6 additions and 2 deletions

View file

@ -89,7 +89,6 @@ output(void)
{
int len, ret;
printf("ip64-interface: output source ");
PRINT6ADDR(&UIP_IP_BUF->srcipaddr);
PRINTF(" destination ");
@ -117,6 +116,8 @@ output(void)
return IP64_ETH_DRIVER.output(ip64_packet_buffer, len);
}
}
return 0;
}
/*---------------------------------------------------------------------------*/
const struct uip_fallback_interface ip64_eth_interface = {

View file

@ -897,11 +897,13 @@ interface_init(void)
IP64_UIP_FALLBACK_INTERFACE.init();
}
/*---------------------------------------------------------------------------*/
static void
static int
interface_output(void)
{
PRINTF("ip64: interface_output len %d\n", uip_len);
IP64_UIP_FALLBACK_INTERFACE.output();
return 0;
}
/*---------------------------------------------------------------------------*/
const struct uip_fallback_interface ip64_uip_fallback_interface = {

View file

@ -35,6 +35,7 @@
#include "ip64.h"
#include "ip64-eth.h"
#include "rime.h"
#include <string.h>
#include <stdio.h>