fix GetSystemNetworks

This commit is contained in:
afeiszli 2022-01-31 16:36:37 -05:00
parent 9721d91e49
commit d1831ece96

View file

@ -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
}