diff options
author | Viacheslav <v.gletenko@vyos.io> | 2022-01-09 12:34:04 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2022-01-09 12:34:04 +0000 |
commit | d997874deb61bcdac1cc5e8f2a882347fc83f2d8 (patch) | |
tree | b379a2e03813ae677ed26ef7b6c41cbcaccd3d6b /data/templates/nhrp | |
parent | b4ac2f6479bb618a54b7dff533ae15b9a9bf8831 (diff) | |
download | vyos-1x-d997874deb61bcdac1cc5e8f2a882347fc83f2d8.tar.gz vyos-1x-d997874deb61bcdac1cc5e8f2a882347fc83f2d8.zip |
nhrp: T4152: Fix template holding-time for nhrp
Add missed 'holding-time' option for shortcut-target address
Diffstat (limited to 'data/templates/nhrp')
-rw-r--r-- | data/templates/nhrp/opennhrp.conf.tmpl | 2 |
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 %} |