X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fsubnet.h;h=6184e6b77794639913731f14ec6a4b15b9e4952f;hp=9fd95b6493b7c172e8ae736544b7fa2a886b7fc2;hb=c2dc3784f127ef6db6e9960a4abecc1aab6f4e31;hpb=70a1a5594af5d4e6a364186b42ba4e34c676009b diff --git a/src/subnet.h b/src/subnet.h index 9fd95b64..6184e6b7 100644 --- a/src/subnet.h +++ b/src/subnet.h @@ -22,6 +22,7 @@ #define __TINC_SUBNET_H__ #include "net.h" +#include "node.h" typedef enum subnet_type_t { SUBNET_MAC = 0, @@ -44,8 +45,6 @@ typedef struct subnet_ipv6_t { int prefixlength; } subnet_ipv6_t; -#include "node.h" - typedef struct subnet_t { struct node_t *owner; /* the owner of this subnet */