From 4c52b87ac173ce24fce5831f1b27d82d631504fd Mon Sep 17 00:00:00 2001 From: Simon Duquennoy Date: Tue, 10 Nov 2015 09:30:36 +0100 Subject: [PATCH] Ported jn516x slip-bridge to new uip_fallback_interface --- examples/jn516x/rpl/border-router/slip-bridge.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/jn516x/rpl/border-router/slip-bridge.c b/examples/jn516x/rpl/border-router/slip-bridge.c index e3b0f814b..e79f80990 100644 --- a/examples/jn516x/rpl/border-router/slip-bridge.c +++ b/examples/jn516x/rpl/border-router/slip-bridge.c @@ -107,7 +107,7 @@ init(void) slip_set_input_callback(slip_input_callback); } /*---------------------------------------------------------------------------*/ -static void +static int output(void) { if(uip_ipaddr_cmp(&last_sender, &UIP_IP_BUF->srcipaddr)) { @@ -123,6 +123,7 @@ output(void) slip_send(); printf("\n"); } + return 0; } /*---------------------------------------------------------------------------*/ #if !SLIP_BRIDGE_CONF_NO_PUTCHAR