connection_t: remove unused compression_level field
[tinc] / src / net_socket.c
index af1bec2..8783b01 100644 (file)
@@ -649,7 +649,6 @@ begin:
        c->status.connecting = true;
        c->name = xstrdup(outgoing->node->name);
        c->outmaclength = myself->connection->outmaclength;
-       c->outcompression = myself->connection->outcompression;
        c->last_ping_time = now.tv_sec;
 
        connection_add(c);
@@ -758,7 +757,6 @@ void handle_new_meta_connection(void *data, int flags) {
        c = new_connection();
        c->name = xstrdup("<unknown>");
        c->outmaclength = myself->connection->outmaclength;
-       c->outcompression = myself->connection->outcompression;
 
        c->address = sa;
        c->hostname = sockaddr2hostname(&sa);