]> git.meshlink.io Git - meshlink/blobdiff - src/route.c
Stop using global variable mesh in net_packet.c.
[meshlink] / src / route.c
index 68873096e76afde29429ab0f76e74806f56b06bf..9a0c64341e8b5cb0b3a08f1d4b07821c8d51ee05 100644 (file)
@@ -90,6 +90,6 @@ void route(node_t *source,vpn_packet_t *packet) {
        return;
     }
 
-    send_packet(owner,packet);
+    send_packet(mesh, owner, packet);
     return;
 }