1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-09-25 17:51:11 +02:00
This commit is contained in:
Oleksii Samoliuk 2025-09-18 13:52:33 +00:00 committed by GitHub
commit 3415975de3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -692,9 +692,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,