1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-11-10 01:20:58 +01:00
This commit is contained in:
Oleksii Samoliuk 2025-11-02 13:20:26 +01:00 committed by GitHub
commit ede11d3580
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -719,9 +719,9 @@ func nodeRoutesToPtables(
nodeData := []string{ nodeData := []string{
strconv.FormatUint(node.GetId(), util.Base10), strconv.FormatUint(node.GetId(), util.Base10),
node.GetGivenName(), node.GetGivenName(),
strings.Join(node.GetApprovedRoutes(), ", "), strings.Join(node.GetApprovedRoutes(), "\n"),
strings.Join(node.GetAvailableRoutes(), ", "), strings.Join(node.GetAvailableRoutes(), "\n"),
strings.Join(node.GetSubnetRoutes(), ", "), strings.Join(node.GetSubnetRoutes(), "\n"),
} }
tableData = append( tableData = append(
tableData, tableData,