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 69835ee..fc5720a 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.