From: Bart Polot Date: Wed, 8 Feb 2017 18:41:06 +0000 (+0100) Subject: - adjust FWD/BCK to new channel numbering X-Git-Tag: taler-0.2.1~191 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3cfcfa48b5682d4e55e168ffb9c78db9b2d9c351;p=oweals%2Fgnunet.git - adjust FWD/BCK to new channel numbering --- diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index 644f755ec..e20796d17 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c @@ -1027,7 +1027,7 @@ handle_local_data (void *cls, payload = (struct GNUNET_MessageHeader *) &message[1]; type = ntohs (payload->type); - fwd = ntohl (ch->ccn.channel_of_client) >= GNUNET_CADET_LOCAL_CHANNEL_ID_CLI; + fwd = ntohl (ch->ccn.channel_of_client) <= GNUNET_CADET_LOCAL_CHANNEL_ID_CLI; LOG (GNUNET_ERROR_TYPE_DEBUG, "Got a %s data on channel %s [%X] of type %s (%u)\n", GC_f2s (fwd),