mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
fix static route template
This commit is contained in:
parent
ff28b30d93
commit
4770ac7384
1 changed files with 3 additions and 3 deletions
|
@ -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}}
|
Loading…
Add table
Reference in a new issue