diff --git a/src/prudp/socket.rs b/src/prudp/socket.rs index a523a50..e3e1e0c 100644 --- a/src/prudp/socket.rs +++ b/src/prudp/socket.rs @@ -171,7 +171,7 @@ impl SocketImpl { match options { SupportedFunctions(functions) => { - response_packet.options.push(SupportedFunctions(*functions)) + response_packet.options.push(SupportedFunctions(*functions & 0x04)) } MaximumSubstreamId(max_substream) => { response_packet.options.push(MaximumSubstreamId(*max_substream))