X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_socket.c;h=9ce3fae000638927205bbd99de497bc20712c96c;hp=93314fb6c5941a4d2e06cc4aec1748d229fafdad;hb=c6d01588312bec7691e72b42cf20c59ffe2749c2;hpb=c2b9c06062d36bde859b630b99a08c7b7428e721 diff --git a/src/net_socket.c b/src/net_socket.c index 93314fb6..9ce3fae0 100644 --- a/src/net_socket.c +++ b/src/net_socket.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: net_socket.c,v 1.1.2.1 2002/02/18 16:25:16 guus Exp $ + $Id: net_socket.c,v 1.1.2.2 2002/02/20 19:25:09 guus Exp $ */ #include "config.h" @@ -375,6 +375,10 @@ cp c = new_connection(); c->name = xstrdup(outgoing->name); + c->outcipher = myself->connection->outcipher; + c->outdigest = myself->connection->outdigest; + c->outmaclength = myself->connection->outmaclength; + c->outcompression = myself->connection->outcompression; init_configuration(&c->config_tree); read_connection_config(c); @@ -415,6 +419,10 @@ cp } c = new_connection(); + c->outcipher = myself->connection->outcipher; + c->outdigest = myself->connection->outdigest; + c->outmaclength = myself->connection->outmaclength; + c->outcompression = myself->connection->outcompression; c->address = sa; c->hostname = sockaddr2hostname(&sa);