From 3cfcfa48b5682d4e55e168ffb9c78db9b2d9c351 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 8 Feb 2017 19:41:06 +0100 Subject: [PATCH] - adjust FWD/BCK to new channel numbering --- src/cadet/cadet_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.25.1