From e65f00b6472fb409c75c98b6134b0123bf3a8602 Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Thu, 24 Apr 2014 00:01:01 +0200 Subject: [PATCH] Adjust the callback to meshlink_receive_cb_t --- src/route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/route.c b/src/route.c index d999d11e..0eb39aaf 100644 --- a/src/route.c +++ b/src/route.c @@ -75,7 +75,7 @@ void route(node_t *source,vpn_packet_t *packet) { if (owner == mesh->self ) { //TODO: implement sending received data from meshlink library to the application logger(DEBUG_TRAFFIC, LOG_WARNING, "I received a packet for me with payload: %s \n", packet->data + sizeof *hdr); - (recv_callback)(packet->data + sizeof *hdr); + (meshlink_receive_cb_t)(packet->data + sizeof *hdr); return; } -- 2.39.5