]> git.ipfire.org Git - people/ms/network.git/commitdiff
Remove overcomplicated list assignment which doesn't work
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Jul 2017 20:38:19 +0000 (22:38 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Jul 2017 20:38:19 +0000 (22:38 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.list
src/functions/functions.vpn-security-policies

index fa6042757f60a63a94221489e539e0ba85f266e8..7e96cdf6f3f05d3cab27220868d03d48e019a1c9 100644 (file)
 # Functions for nice handling of lists.
 #
 
-list_set() {
-       local list=${1}
-       shift
-
-       assign "${list}" "$@"
-}
-
 list_append() {
        local list=${1}
        assert isset list
index 5bc9208772248d1c2ff49e48d16f84094af2c585..79a217aab8098502c3fb54fccebb827727b1e6b8 100644 (file)
@@ -503,7 +503,7 @@ vpn_security_policies_cipher(){
                        fi
                done
 
-               list_set CIPHER ${ciphers_set}
+               CIPHER="${ciphers_set}"
 
        # Perform incremental updates
        else