diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-23 20:48:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 20:48:19 +0200 |
commit | 2ea5aa9b5832a073b4e8d2fcdc7190d01f6a1519 (patch) | |
tree | e61e24ab7232ef5f2f094b14a58a5c547f2d5f53 | |
parent | b4723973c3b4c2fe66d0d891ef539ad1df3b8416 (diff) | |
parent | 345b1296432f23ca44e3da60fd1250eefc4e2fc4 (diff) | |
download | vyos-1x-2ea5aa9b5832a073b4e8d2fcdc7190d01f6a1519.tar.gz vyos-1x-2ea5aa9b5832a073b4e8d2fcdc7190d01f6a1519.zip |
Merge pull request #3357 from vyos/mergify/bp/sagitta/pr-3340
T6255: static-routing: don't render whitespace from static table descriptions (backport #3340)
-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 %} |