]> git.ipfire.org Git - people/ms/network.git/commitdiff
ipsec: security policies: Fix typos in plural variables
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 18 Sep 2018 10:16:02 +0000 (12:16 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 18 Sep 2018 10:16:02 +0000 (12:16 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.vpn-security-policies

index dc0f164e5590dfa3b4a34b4bf717c3f7c6ebd427..d1d720b63b0342346b83599a29e29df1042a6f82 100644 (file)
@@ -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