mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-15 11:21:04 +01:00
13e7198046
wait on engine down to not only wait for the interface to be down but completely removed. If the waiting loop reaches the timeout we will trigger an interface destroy. On the up command, it now waits until the engine is fully running before sending the response to the CLI. Includes a small refactor of probes to comply with sonar rules about parameter count in the function call
10 lines
156 B
Go
10 lines
156 B
Go
//go:build android || (ios && !darwin)
|
|
|
|
package iface
|
|
|
|
import "errors"
|
|
|
|
func (w *WGIface) Destroy() error {
|
|
return errors.New("not supported on mobile")
|
|
}
|