diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-04-23 20:44:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 20:44:17 +0200 |
commit | 5b3f2b5708d18f14b4ff24b37119947258ea4e78 (patch) | |
tree | 0e7e0b749501e3d55887862434e029c5d05db518 /data/templates | |
parent | 2a3be9dd3d0c0ae32a5e3a7089a0327e618ec06e (diff) | |
parent | 8602c84e1b7c0da4c4c57fc2d034ec18497303fd (diff) | |
download | vyos-1x-5b3f2b5708d18f14b4ff24b37119947258ea4e78.tar.gz vyos-1x-5b3f2b5708d18f14b4ff24b37119947258ea4e78.zip |
Merge pull request #3340 from Embezzle/T6255
T6255: static-routing: don't render whitespace from static table descriptions
Diffstat (limited to 'data/templates')
-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 %} |