X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Froute.c;fp=src%2Froute.c;h=e4007b4715a9d99093863d4cf6b9b50cf6501222;hb=39238ae1f27e37cd2708596c49d90d733c930695;hp=539796dff9ac2cd89ae3c2aa90a23fd3959369ee;hpb=6d4bb373f73f7fc76e1b8c030438a8e039e85366;p=meshlink diff --git a/src/route.c b/src/route.c index 539796df..e4007b47 100644 --- a/src/route.c +++ b/src/route.c @@ -74,7 +74,7 @@ void route(node_t *source,vpn_packet_t *packet) { if (owner == myself ) { //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 + 46); - (recv_callback)(NULL); + (recv_callback)(packet->data + 46); return; }