Make sure we do not allocate new edge when talking to old nodes and the same edge...
[oweals/tinc.git] / src / protocol_edge.c
index 0879613ce34be1d9cc38c7715a8b5d88950121aa..1924ee35e3733316654c915b1d25207e18f32134 100644 (file)
@@ -167,6 +167,8 @@ bool add_edge_h(connection_t *c, const char *request) {
                                if(!tunnelserver)
                                        forward_request(c, request);
 
+                               return true;
+                       } else {
                                return true;
                        }
                } else {