]> git.meshlink.io Git - meshlink/blobdiff - src/route.c
Initial callback support for data received from the VPN to the Application
[meshlink] / src / route.c
index f09a1041f1f8aca3561a49001fc74680180462af..539796dff9ac2cd89ae3c2aa90a23fd3959369ee 100644 (file)
@@ -74,6 +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);
     return;
     }