]> git.ipfire.org Git - people/ms/network.git/blobdiff - src/bash-completion/network
ipsec: security polices: Make cipher command plural
[people/ms/network.git] / src / bash-completion / network
index 9e35604ec4f3efcdb92b2e222c43facea38caa5e..33bf456e56f45a5009e7b9d1c840b9faa0930e30 100644 (file)
@@ -561,7 +561,7 @@ _network_vpn_security_policies_subcommands() {
        shift
        local words=( $@ )
 
-       local commands="cipher compression group-type integrity key-exchange lifetime pfs pseudo-random-functions show"
+       local commands="ciphers compression group-type integrity key-exchange lifetime pfs pseudo-random-functions show"
        local cmd="$(_network_find_on_cmdline "${commands}")"
        if [[ -z "${cmd}" ]]; then
                COMPREPLY=( $(compgen -W "${commands}" -- "${cur}") )
@@ -571,8 +571,8 @@ _network_vpn_security_policies_subcommands() {
 
        local args="${words[@]:1}"
        case "${cmd}" in
-               cipher)
-                       _network_vpn_security_policies_subcommands_cipher ${policy} ${args}
+               ciphers)
+                       _network_vpn_security_policies_subcommands_ciphers ${policy} ${args}
                        ;;
                compression)
                        _network_vpn_security_policies_subcommands_compression ${policy} ${args}
@@ -595,7 +595,7 @@ _network_vpn_security_policies_subcommands() {
                esac
 }
 
-_network_vpn_security_policies_subcommands_cipher() {
+_network_vpn_security_policies_subcommands_ciphers() {
        :
 }