Fix missing return value caused by the previous commit.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 31 May 2015 21:51:39 +0000 (23:51 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 31 May 2015 21:51:39 +0000 (23:51 +0200)
src/net_packet.c

index 69835eef5faa9bf4f92a3d1c91143d9743e3f80f..fc5720a2aee1fe5a1da7dfe8025a69ca7c6848e6 100644 (file)
@@ -458,7 +458,7 @@ bool receive_tcppacket_sptps(connection_t *c, const char *data, int len) {
                /* This can happen in the form of a race condition
                   if the node just became unreachable. */
                logger(DEBUG_TRAFFIC, LOG_WARNING, "Cannot relay TCP packet from %s (%s) because the destination, %s (%s), is unreachable", from->name, from->hostname, to->name, to->hostname);
-               return;
+               return true;
        }
 
        /* Help the sender reach us over UDP.