summaryrefslogtreecommitdiff
path: root/python/vyos/template.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-19 08:07:49 +0100
committerGitHub <noreply@github.com>2023-01-19 08:07:49 +0100
commit08949c6e85c6fe02bd702894748b41d600ee7d01 (patch)
tree74bd5be05b2db07693ea30e12687e91cbab93690 /python/vyos/template.py
parent56074c22eb7420bdaa12b41e42b61ef1d9583cd3 (diff)
parent7a663a75dc8b2f9842b72a05e17240edb4008849 (diff)
downloadvyos-1x-08949c6e85c6fe02bd702894748b41d600ee7d01.tar.gz
vyos-1x-08949c6e85c6fe02bd702894748b41d600ee7d01.zip
Merge pull request #1765 from aapostoliuk/T4925-sagitta
ipsec: T4925: Added PRF into IKE group
Diffstat (limited to 'python/vyos/template.py')
-rw-r--r--python/vyos/template.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/vyos/template.py b/python/vyos/template.py
index 2a4135f9e..ce9983958 100644
--- a/python/vyos/template.py
+++ b/python/vyos/template.py
@@ -476,6 +476,8 @@ def get_esp_ike_cipher(group_config, ike_group=None):
continue
tmp = '{encryption}-{hash}'.format(**proposal)
+ if 'prf' in proposal:
+ tmp += '-' + proposal['prf']
if 'dh_group' in proposal:
tmp += '-' + pfs_lut[ 'dh-group' + proposal['dh_group'] ]
elif 'pfs' in group_config and group_config['pfs'] != 'disable':