pex: track indirect hosts (reachable via gateway) as peers without adding them to wg
[project/unetd.git] / host.h
diff --git a/host.h b/host.h
index cb4085eecf3fe9ab3c58ed836e682a13715c6d97..56d359c7e0580aa9df5243c6bc7ce29c97487416 100644 (file)
--- a/host.h
+++ b/host.h
@@ -23,6 +23,7 @@ struct network_peer {
        int port;
        int pex_port;
        bool dynamic;
+       bool indirect;
 
        struct {
                int connect_attempt;