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 }}
|
||||
[Route]
|
||||
Destination={{ Destination }}
|
||||
Gateway={{ Gateway }}
|
||||
Destination={{ .Destination }}
|
||||
Gateway={{ .Gateway }}
|
||||
{{- if ne .Metric 0 }}
|
||||
Metric={{ Metric }}
|
||||
Metric={{ .Metric }}
|
||||
{{- end }}
|
||||
{{end}}
|
Loading…
Add table
Reference in a new issue