X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fsubnet.h;h=6184e6b77794639913731f14ec6a4b15b9e4952f;hb=6d0452896673c36226c24144d4bde824a49c3950;hp=10ba6fc71af9bee5374f35baedd37197e5459658;hpb=d917c8cb6b69475d568ccbe82389b9f2b3eb5e80;p=tinc diff --git a/src/subnet.h b/src/subnet.h index 10ba6fc7..6184e6b7 100644 --- a/src/subnet.h +++ b/src/subnet.h @@ -1,6 +1,6 @@ /* subnet.h -- header for subnet.c - Copyright (C) 2000-2009 Guus Sliepen , + Copyright (C) 2000-2012 Guus Sliepen , 2000-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify @@ -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 */