diff options
author | Alex W <embezzle.dev@proton.me> | 2024-04-23 18:07:18 +0100 |
---|---|---|
committer | Alex W <embezzle.dev@proton.me> | 2024-04-23 18:07:18 +0100 |
commit | 8602c84e1b7c0da4c4c57fc2d034ec18497303fd (patch) | |
tree | b3fde0819fa815f28c2eb862a5c2eb359fe44534 /data/templates/iproute2 | |
parent | 0cb4294fdfe5ae0e0e8fd06436f38b67f16413a2 (diff) | |
download | vyos-1x-8602c84e1b7c0da4c4c57fc2d034ec18497303fd.tar.gz vyos-1x-8602c84e1b7c0da4c4c57fc2d034ec18497303fd.zip |
T6255: static-routing: don't render whitespace from static table descriptions
Diffstat (limited to 'data/templates/iproute2')
-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 %} |