Add migration from legacy tcp to named pipes

This commit is contained in:
Theodor S. Midtlien
2026-07-24 10:58:29 +02:00
parent f60ac9e746
commit 57f9cbe5ff
5 changed files with 103 additions and 1 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ func init() {
defaultDaemonAddr := "unix:///var/run/netbird.sock"
if runtime.GOOS == "windows" {
defaultDaemonAddr = "npipe://netbird"
defaultDaemonAddr = windowsPipeDaemonAddr
}
rootCmd.PersistentFlags().StringVar(&daemonAddr, "daemon-addr", defaultDaemonAddr, "Daemon service address to serve CLI requests [unix|tcp|npipe]://[path|host:port|name]")