diff --git a/src/servers/protocol/kcp.rs b/src/servers/protocol/kcp.rs index c5d3028..4272a20 100644 --- a/src/servers/protocol/kcp.rs +++ b/src/servers/protocol/kcp.rs @@ -89,7 +89,9 @@ async fn process( debug!("Bytes read: {:?} write: {:?}", bytes_tx, bytes_rx); } - _ => {} + _ => { + error!("Reached unknown protocol: {:?}", custom.protocol); + } } } }; diff --git a/src/servers/protocol/tcp.rs b/src/servers/protocol/tcp.rs index 99465bd..64c04f1 100644 --- a/src/servers/protocol/tcp.rs +++ b/src/servers/protocol/tcp.rs @@ -108,7 +108,9 @@ async fn process( debug!("Bytes read: {:?} write: {:?}", bytes_tx, bytes_rx); } - _ => {} + _ => { + error!("Reached unknown protocol: {:?}", custom.protocol); + } } } };