mirror of
https://github.com/netbirdio/netbird.git
synced 2026-03-31 06:34:19 -04:00
- Automatic Unix daemon address discovery: if the default socket is missing, the client can find and use a single available socket. - Client startup now resolves daemon addresses more robustly while preserving non-Unix behavior.
9 lines
200 B
Go
9 lines
200 B
Go
//go:build windows || ios || android
|
|
|
|
package daemonaddr
|
|
|
|
// ResolveUnixDaemonAddr is a no-op on platforms that don't use Unix sockets.
|
|
func ResolveUnixDaemonAddr(addr string) string {
|
|
return addr
|
|
}
|