X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_setup.c;h=50d5680a5d24855180490a8ecb2d9a1e22aba72c;hp=121b989279bff7a810d316cc9737396bb33ff43e;hb=776dbf88df1911ec379c2fece0089fd2f5c71021;hpb=09d60499af3acef2ba9bd7be15e8d1c44249f8d5 diff --git a/src/net_setup.c b/src/net_setup.c index 121b9892..50d5680a 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -1,7 +1,7 @@ /* net_setup.c -- Setup. Copyright (C) 1998-2005 Ivo Timmermans, - 2000-2014 Guus Sliepen + 2000-2015 Guus Sliepen 2006 Scott Lamb 2010 Brandon Black @@ -39,6 +39,7 @@ #include "netutl.h" #include "process.h" #include "protocol.h" +#include "proxy.h" #include "route.h" #include "subnet.h" #include "utils.h" @@ -47,12 +48,6 @@ char *myport; devops_t devops; -char *proxyhost; -char *proxyport; -char *proxyuser; -char *proxypass; -proxytype_t proxytype; - bool read_rsa_public_key(connection_t *c) { FILE *fp; char *pubname; @@ -813,7 +808,7 @@ static bool setup_myself(void) { hint.ai_protocol = IPPROTO_TCP; hint.ai_flags = AI_PASSIVE; -#ifdef HAVE_DECL_RES_INIT +#if HAVE_DECL_RES_INIT // ensure glibc reloads /etc/resolv.conf. res_init(); #endif