X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnection.c;h=46d82d2ce8e1648c4649cbf4eaf6df8da6c67291;hp=dee0472a2ac2b82c5d357ebf09fc6cbebbdfbb60;hb=1857b3c97c261dda9978a67d07b315bb3ca68841;hpb=408ca91766088b6c2d38e198b0692bf394b41248 diff --git a/src/connection.c b/src/connection.c index dee0472a..46d82d2c 100644 --- a/src/connection.c +++ b/src/connection.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: connection.c,v 1.1.2.1 2000/11/20 19:12:11 guus Exp $ + $Id: connection.c,v 1.1.2.2 2000/11/20 19:41:10 guus Exp $ */ #include "config.h" @@ -32,6 +32,7 @@ #include "config.h" #include "conf.h" #include +#include "subnet.h" #include "xalloc.h" #include "system.h" @@ -61,6 +62,8 @@ connection_t *new_connection(void) cp /* initialise all those stupid pointers at once */ memset(p, '\0', sizeof(*p)); + + p->subnet_tree = new_rbltree((rbl_compare_t)subnet_compare, NULL); cp return p; }