diff --git a/cmonitor/plugins/tunnel/transport/TransportUdpQuic.cs b/cmonitor/plugins/tunnel/transport/TransportUdpQuic.cs index a8b39996..5d1a2915 100644 --- a/cmonitor/plugins/tunnel/transport/TransportUdpQuic.cs +++ b/cmonitor/plugins/tunnel/transport/TransportUdpQuic.cs @@ -45,6 +45,8 @@ namespace cmonitor.plugins.tunnel.transport { if (OperatingSystem.IsWindows() || OperatingSystem.IsLinux() || OperatingSystem.IsMacOS()) { + if (QuicListener.IsSupported == false) return; + string path = Path.GetFullPath(config.Data.Client.Tunnel.Certificate); if (File.Exists(path)) {