[client] Retry on tun creation for darwin (#2564)

The interface creation on macOS seems to be asynchronus why the tun.create methode somethimes failes becasue the interface is not ready yet. To work around this issue we introduce a retry on tun.create
This commit is contained in:
pascal-fischer
2024-09-09 19:02:10 +02:00
committed by GitHub
parent 51e1d3ab8f
commit f43a0a0177
3 changed files with 29 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
//go:build !android
//go:build (!android && !darwin) || ios
package iface