aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/util/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fuzz/util/net.h')
-rw-r--r--src/test/fuzz/util/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/util/net.h b/src/test/fuzz/util/net.h
index a6c9e23f2e..ed02680676 100644
--- a/src/test/fuzz/util/net.h
+++ b/src/test/fuzz/util/net.h
@@ -43,7 +43,7 @@ class FuzzedSock : public Sock
* If `MSG_PEEK` is used, then our `Recv()` returns some random data as usual, but on the next
* `Recv()` call we must return the same data, thus we remember it here.
*/
- mutable std::optional<uint8_t> m_peek_data;
+ mutable std::optional<std::vector<uint8_t>> m_peek_data;
/**
* Whether to pretend that the socket is select(2)-able. This is randomly set in the