Skip to content

Commit

Permalink
Merge pull request #3340 from Embezzle/T6255
Browse files Browse the repository at this point in the history
T6255: static-routing: don't render whitespace from static table descriptions
  • Loading branch information
dmbaturin authored Apr 23, 2024
2 parents 2a3be9d + 8602c84 commit 5b3f2b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/templates/iproute2/static.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% if table is vyos_defined %}
{% for t, t_options in table.items() %}
{% if t_options.description is vyos_defined %}
{{ "%-6s" | format(t) }} {{ "%-40s" | format(t_options.description) }}
{{ "%-6s" | format(t) }} {{ "%-40s" | format(t_options.description | replace(" ", "_")) }}
{% endif %}
{% endfor %}
{% endif %}

0 comments on commit 5b3f2b5

Please sign in to comment.