fix static route template

This commit is contained in:
Samuel Lorch 2023-04-08 18:11:19 +02:00
parent ff28b30d93
commit 4770ac7384

View file

@ -18,9 +18,9 @@ VLAN={{ . }}
{{- range .StaticRoutes }} {{- range .StaticRoutes }}
[Route] [Route]
Destination={{ Destination }} Destination={{ .Destination }}
Gateway={{ Gateway }} Gateway={{ .Gateway }}
{{- if ne .Metric 0 }} {{- if ne .Metric 0 }}
Metric={{ Metric }} Metric={{ .Metric }}
{{- end }} {{- end }}
{{end}} {{end}}