Browse Source

fix GetSystemNetworks

afeiszli 3 years ago
parent
commit
d1831ece96
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netclient/ncutils/netclientutils.go

+ 1 - 1
netclient/ncutils/netclientutils.go

@@ -462,7 +462,7 @@ func GetSystemNetworks() ([]string, error) {
 		}
 		file := filepath.Base(file)
 		temp := strings.Split(file, "-")
-		networks = append(networks, temp[1])
+		networks = append(networks, strings.Join(temp[1:], "-"))
 	}
 	return networks, nil
 }