diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2021-06-11 23:55:24 +0200 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2021-06-12 21:14:18 +0200 |
commit | ab5bfe76044f7e5bb7921f11e735dbf77544a89f (patch) | |
tree | 49a601130a2d5fb8a6fd4c2454294584c429ff85 /data/templates | |
parent | 7c2270d298c71ad94e28e6492de2a3cf7c1e67fe (diff) | |
download | vyos-1x-ab5bfe76044f7e5bb7921f11e735dbf77544a89f.tar.gz vyos-1x-ab5bfe76044f7e5bb7921f11e735dbf77544a89f.zip |
ipsec: T1501: T3617: Add handling for missing addresses on boot when using dhcp-interface
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/ipsec/ipsec.conf.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/ipsec/ipsec.conf.tmpl b/data/templates/ipsec/ipsec.conf.tmpl index 342887883..53cba44b9 100644 --- a/data/templates/ipsec/ipsec.conf.tmpl +++ b/data/templates/ipsec/ipsec.conf.tmpl @@ -7,7 +7,7 @@ config setup uniqueids = {{ "no" if disable_uniqreqids is defined else "yes" }} {% if site_to_site is defined and site_to_site.peer is defined %} -{% for peer, peer_conf in site_to_site.peer.items() %} +{% for peer, peer_conf in site_to_site.peer.items() if peer not in dhcp_no_address %} {% set peer_index = loop.index %} {% set peer_ike = ike_group[peer_conf.ike_group] %} {% set peer_esp = esp_group[peer_conf.default_esp_group] if peer_conf.default_esp_group is defined else None %} |