diff options
author | Alex W <embezzle.dev@proton.me> | 2024-04-23 18:07:18 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-23 18:46:22 +0000 |
commit | 345b1296432f23ca44e3da60fd1250eefc4e2fc4 (patch) | |
tree | e61e24ab7232ef5f2f094b14a58a5c547f2d5f53 /data | |
parent | b4723973c3b4c2fe66d0d891ef539ad1df3b8416 (diff) | |
download | vyos-1x-345b1296432f23ca44e3da60fd1250eefc4e2fc4.tar.gz vyos-1x-345b1296432f23ca44e3da60fd1250eefc4e2fc4.zip |
T6255: static-routing: don't render whitespace from static table descriptions
(cherry picked from commit 8602c84e1b7c0da4c4c57fc2d034ec18497303fd)
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/iproute2/static.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/iproute2/static.conf.j2 b/data/templates/iproute2/static.conf.j2 index 10c9bdab7..249483ab3 100644 --- a/data/templates/iproute2/static.conf.j2 +++ b/data/templates/iproute2/static.conf.j2 @@ -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 %} |