summaryrefslogtreecommitdiffhomepage
path: root/oxish-proto/src/channels.rs
diff options
context:
space:
mode:
Diffstat (limited to 'oxish-proto/src/channels.rs')
-rw-r--r--oxish-proto/src/channels.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/oxish-proto/src/channels.rs b/oxish-proto/src/channels.rs
index 8e1cea9..9677ac2 100644
--- a/oxish-proto/src/channels.rs
+++ b/oxish-proto/src/channels.rs
@@ -242,6 +242,7 @@ impl<'a> TryFrom<IncomingPacket<'a>> for ChannelRequest<'a> {
}
}
}
+ b"[email protected]" => ChannelRequestType::AuthAgentReq,
_ => {
match str::from_utf8(r#type) {
Ok(r#type) => warn!(%r#type, "unknown channel request type"),
@@ -263,6 +264,10 @@ impl<'a> TryFrom<IncomingPacket<'a>> for ChannelRequest<'a> {
/// Request type-specific data from a [`ChannelRequest`]
#[derive(Debug)]
pub enum ChannelRequestType<'a> {
+ ///
+ /// Not currently supported.
+ AuthAgentReq,
/// `pty-req`, request a pseudo-terminal
///
/// As defined in <https://www.rfc-editor.org/rfc/rfc4254#section-6.2>.