X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_setup.c;h=0c9f27c388821edb00d3aeac63a228199f2e6bfa;hp=aa2fbfbe9264b921b56553aca7fc150846c751e4;hb=4fe7aff4d1b8605d4997b842481cc78bd062fe2a;hpb=af86a3226ea42375644b3f99c182c778d327de1e diff --git a/src/net_setup.c b/src/net_setup.c index aa2fbfbe..0c9f27c3 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -1,7 +1,7 @@ /* net_setup.c -- Setup. - Copyright (C) 1998-2003 Ivo Timmermans , - 2000-2003 Guus Sliepen + Copyright (C) 1998-2004 Ivo Timmermans , + 2000-2004 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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: net_setup.c,v 1.1.2.50 2003/12/20 21:25:17 guus Exp $ + $Id$ */ #include "system.h" @@ -286,6 +286,8 @@ bool setup_myself(void) if(get_config_bool(lookup_config(myself->connection->config_tree, "TCPOnly"), &choice) && choice) myself->options |= OPTION_TCPONLY; + get_config_bool(lookup_config(config_tree, "BlockingTCP"), &blockingtcp); + if(get_config_bool(lookup_config(myself->connection->config_tree, "PMTUDiscovery"), &choice) && choice) myself->options |= OPTION_PMTU_DISCOVERY;