TUN-6740: Detect no UDP packets allowed and fallback from QUIC in that case

This commit is contained in:
Nuno Diegues
2022-09-07 16:32:15 +00:00
parent 4b75943d59
commit 7a19798682
3 changed files with 25 additions and 8 deletions
+4
View File
@@ -27,6 +27,10 @@ func (e *EdgeQuicDialError) Error() string {
return "failed to dial to edge with quic: " + e.Cause.Error()
}
func (e *EdgeQuicDialError) Unwrap() error {
return e.Cause
}
// RegisterTunnel error from server
type ServerRegisterTunnelError struct {
Cause error