aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-cell/src/relaycell/extend.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/tor-cell/src/relaycell/extend.rs')
-rw-r--r--crates/tor-cell/src/relaycell/extend.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/tor-cell/src/relaycell/extend.rs b/crates/tor-cell/src/relaycell/extend.rs
index e46f61d47..8785c9644 100644
--- a/crates/tor-cell/src/relaycell/extend.rs
+++ b/crates/tor-cell/src/relaycell/extend.rs
@@ -91,7 +91,7 @@ impl Ext for CcResponse {
}
/// A request that a certain set of protocols should be enabled. (client to server)
-#[derive(Clone, Debug, PartialEq, Eq)]
+#[derive(Clone, Debug, Default, PartialEq, Eq)]
pub struct SubprotocolRequest {
/// The protocols to enable.
protocols: Vec<tor_protover::NumberedSubver>,