From: W.C.A. Wijngaards Date: Tue, 5 Sep 2023 06:41:45 +0000 (+0200) Subject: - dnsoverquic, fix in doqclient to work with renamed NGTCP2_CC_ALGO_BBR_V2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44725a52cea81c442e8603abecac350b9226df9a;p=thirdparty%2Funbound.git - dnsoverquic, fix in doqclient to work with renamed NGTCP2_CC_ALGO_BBR_V2 from ngtcp2. --- diff --git a/testcode/doqclient.c b/testcode/doqclient.c index ac8f2a84f..1cc9bb396 100644 --- a/testcode/doqclient.c +++ b/testcode/doqclient.c @@ -1758,8 +1758,14 @@ write_streams(struct doq_client_data* data) ngtcp2_path_storage_zero(&ps); str = data->query_list_send->first; - if(data->cc_algo != NGTCP2_CC_ALGO_BBR && - data->cc_algo != NGTCP2_CC_ALGO_BBR2) { + if(data->cc_algo != NGTCP2_CC_ALGO_BBR +#ifdef NGTCP2_CC_ALGO_BBR_V2 + && data->cc_algo != NGTCP2_CC_ALGO_BBR_V2 +#endif +#ifdef NGTCP2_CC_ALGO_BBR2 + && data->cc_algo != NGTCP2_CC_ALGO_BBR2 +#endif + ) { /* If we do not have a packet pacing congestion control * algorithm, limit the number of packets. */ max_packets = 10;