added checks for supported functions

This commit is contained in:
DJMrTV 2025-01-23 15:29:29 +01:00
commit 221a7148d6

View file

@ -171,7 +171,7 @@ impl SocketImpl {
match options { match options {
SupportedFunctions(functions) => { SupportedFunctions(functions) => {
response_packet.options.push(SupportedFunctions(*functions)) response_packet.options.push(SupportedFunctions(*functions & 0x04))
} }
MaximumSubstreamId(max_substream) => { MaximumSubstreamId(max_substream) => {
response_packet.options.push(MaximumSubstreamId(*max_substream)) response_packet.options.push(MaximumSubstreamId(*max_substream))