diff --git a/src/test/fuzz/connman.cpp b/src/test/fuzz/connman.cpp index fc3fd9201a..2154c9e6b7 100644 --- a/src/test/fuzz/connman.cpp +++ b/src/test/fuzz/connman.cpp @@ -39,7 +39,9 @@ FUZZ_TARGET_INIT(connman, initialize_connman) fuzzed_data_provider.ConsumeBool()}; const uint64_t max_outbound_limit{fuzzed_data_provider.ConsumeIntegral()}; - connman.Init({ .nMaxOutboundLimit = max_outbound_limit }); + CConnman::Options options; + options.nMaxOutboundLimit = max_outbound_limit; + connman.Init(options); CNetAddr random_netaddr; CNode random_node = ConsumeNode(fuzzed_data_provider);