]> git.ipfire.org Git - people/stevee/network.git/commitdiff
ipsec: accept also psk and use pre-shared-key instead of psk
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Wed, 16 Aug 2017 07:02:47 +0000 (09:02 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 16 Aug 2017 12:31:47 +0000 (14:31 +0200)
Fixes: #11454
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/bash-completion/network

index 5ddc8db837b64bfe23068d9629c5b3e2c00e0875..15bb9e8addf4f6b7342c413d5d9076b89a4b38d8 100644 (file)
@@ -446,7 +446,7 @@ _network_vpn_ipsec_connection_subcommands_authentication() {
        shift
        local words=( $@ )
 
-       local commands="psk mode"
+       local commands="mode pre-shared-key"
        local cmd="$(_network_find_on_cmdline "${commands}")"
        if [[ -z "${cmd}" ]]; then
                COMPREPLY=( $(compgen -W "${commands}" -- "${cur}") )