summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-09 20:46:18 +0100
committerGitHub <noreply@github.com>2022-01-09 20:46:18 +0100
commit17ea91accc4bece660d97d36af2bdc002c8df89e (patch)
treeb379a2e03813ae677ed26ef7b6c41cbcaccd3d6b /data
parentb4ac2f6479bb618a54b7dff533ae15b9a9bf8831 (diff)
parentd997874deb61bcdac1cc5e8f2a882347fc83f2d8 (diff)
downloadvyos-1x-17ea91accc4bece660d97d36af2bdc002c8df89e.tar.gz
vyos-1x-17ea91accc4bece660d97d36af2bdc002c8df89e.zip
Merge pull request #1145 from sever-sever/T4152
nhrp: T4152: Fix template holding-time for nhrp
Diffstat (limited to 'data')
-rw-r--r--data/templates/nhrp/opennhrp.conf.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/nhrp/opennhrp.conf.tmpl b/data/templates/nhrp/opennhrp.conf.tmpl
index 948327198..e9e9f692a 100644
--- a/data/templates/nhrp/opennhrp.conf.tmpl
+++ b/data/templates/nhrp/opennhrp.conf.tmpl
@@ -33,7 +33,7 @@ interface {{ name }} #{{ type }} {{ profile_name }}
{% endfor %}
{% if tunnel_conf.shortcut_target is defined and tunnel_conf.shortcut_target is not none %}
{% for target, shortcut_conf in tunnel_conf.shortcut_target.items() %}
- shortcut-target {{ target }} {{ shortcut_conf.holding_time if shortcut_conf.holding_time is defined else '' }}
+ shortcut-target {{ target }}{{ ' holding-time ' + shortcut_conf.holding_time if shortcut_conf.holding_time is defined }}
{% endfor %}
{% endif %}