X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_setup.c;h=50d5680a5d24855180490a8ecb2d9a1e22aba72c;hp=5a6eb72ae1117b82f700848254ed7e5e412e6f73;hb=1cba96d26413a953415487729f2062331ef2aa72;hpb=013bd456084337974aa0b7f2af49e3d9d1afc74c diff --git a/src/net_setup.c b/src/net_setup.c index 5a6eb72a..50d5680a 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -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