From: Michael Tremer Date: Tue, 18 Sep 2018 10:16:02 +0000 (+0200) Subject: ipsec: security policies: Fix typos in plural variables X-Git-Tag: 010~78 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ded01e822e2401b3cbba52e694df25f415c7e237;p=network.git ipsec: security policies: Fix typos in plural variables Signed-off-by: Michael Tremer --- diff --git a/src/functions/functions.vpn-security-policies b/src/functions/functions.vpn-security-policies index dc0f164e..d1d720b6 100644 --- a/src/functions/functions.vpn-security-policies +++ b/src/functions/functions.vpn-security-policies @@ -1219,7 +1219,7 @@ _vpn_security_policies_make_ike_proposal() { local proposals local cipher - for cipher in ${CIPHER}; do + for cipher in ${CIPHERS}; do # Translate cipher local _cipher=${CIPHER_TO_STRONGSWAN[${cipher}]} @@ -1239,7 +1239,7 @@ _vpn_security_policies_make_ike_proposal() { fi local group_type - for group_type in ${GROUP_TYPE}; do + for group_type in ${GROUP_TYPES}; do local _group_type=${GROUP_TYPE_TO_STRONGSWAN[${group_type}]} if ! isset _group_type; then @@ -1262,7 +1262,7 @@ _vpn_security_policies_make_ike_proposal() { fi local group_type - for group_type in ${GROUP_TYPE}; do + for group_type in ${GROUP_TYPES}; do local _group_type=${GROUP_TYPE_TO_STRONGSWAN[${group_type}]} if ! isset _group_type; then @@ -1320,7 +1320,7 @@ _vpn_security_policies_make_esp_proposal() { local proposals local cipher - for cipher in ${CIPHER}; do + for cipher in ${CIPHERS}; do # Translate cipher local _cipher=${CIPHER_TO_STRONGSWAN[${cipher}]} @@ -1331,7 +1331,7 @@ _vpn_security_policies_make_esp_proposal() { if vpn_security_policies_cipher_is_aead ${cipher}; then local group_type - for group_type in ${GROUP_TYPE}; do + for group_type in ${GROUP_TYPES}; do local _group_type=${GROUP_TYPE_TO_STRONGSWAN[${group_type}]} if ! isset _group_type; then @@ -1353,7 +1353,7 @@ _vpn_security_policies_make_esp_proposal() { fi local group_type - for group_type in ${GROUP_TYPE}; do + for group_type in ${GROUP_TYPES}; do local _group_type=${GROUP_TYPE_TO_STRONGSWAN[${group_type}]} if ! isset _group_type; then