]> git.meshlink.io Git - meshlink/blobdiff - src/graph.c
Remove files not used by MeshLink.
[meshlink] / src / graph.c
index b4c01bb5ef8b2ec36e660ffd05ec0428c82c18fc..75996eacdd26a8539fecc9166137822d495fdc2f 100644 (file)
@@ -45,7 +45,6 @@
 #include "system.h"
 
 #include "connection.h"
-#include "device.h"
 #include "edge.h"
 #include "graph.h"
 #include "list.h"
@@ -53,8 +52,8 @@
 #include "names.h"
 #include "netutl.h"
 #include "node.h"
-#include "process.h"
 #include "protocol.h"
+#include "script.h"
 #include "subnet.h"
 #include "utils.h"
 #include "xalloc.h"
@@ -238,8 +237,6 @@ static void check_reachability(void) {
                        char *envp[8] = {NULL};
 
                        xasprintf(&envp[0], "NETNAME=%s", netname ? : "");
-                       xasprintf(&envp[1], "DEVICE=%s", device ? : "");
-                       xasprintf(&envp[2], "INTERFACE=%s", iface ? : "");
                        xasprintf(&envp[3], "NODE=%s", n->name);
                        sockaddr2str(&n->address, &address, &port);
                        xasprintf(&envp[4], "REMOTEADDRESS=%s", address);