shift
local words=( $@ )
- local commands="authentication down inactivity-timeout local mode peer remote security-policy show up"
+ local commands="authentication color description down inactivity-timeout local mode peer remote security-policy show up"
local cmd="$(_network_find_on_cmdline "${commands}")"
if [[ -z "${cmd}" ]]; then
COMPREPLY=( $(compgen -W "${commands}" -- "${cur}") )
authentication)
_network_vpn_ipsec_connection_subcommands_authentication ${connection} ${args}
;;
+ color)
+ _network_color ${args}
+ ;;
+ description)
+ _network_description ${args}
+ ;;
local)
_network_vpn_ipsec_connection_subcommands_local_remote ${connection} "local" ${args}
;;
shift
local words=( $@ )
- local commands="cipher compression group-type integrity key-exchange lifetime pfs show"
+ local commands="ciphers compression group-types integrities key-exchange lifetime pfs pseudo-random-functions show"
local cmd="$(_network_find_on_cmdline "${commands}")"
if [[ -z "${cmd}" ]]; then
COMPREPLY=( $(compgen -W "${commands}" -- "${cur}") )
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}
;;
- group-type)
- _network_vpn_security_policies_subcommands_group_type ${policy} ${args}
+ group-types)
+ _network_vpn_security_policies_subcommands_group_types ${policy} ${args}
+ ;;
+ integrities)
+ _network_vpn_security_policies_subcommands_integrities ${policy} ${args}
;;
- integrity)
- _network_vpn_security_policies_subcommands_integrity ${policy} ${args}
+ pseudo-random-functions)
+ _network_vpn_security_policies_subcommands_pseudo_random_functions ${policy} ${args}
;;
key-exchange)
_network_vpn_security_policies_subcommands_key_exchange ${policy} ${args}
esac
}
-_network_vpn_security_policies_subcommands_cipher() {
+_network_vpn_security_policies_subcommands_ciphers() {
:
}
:
}
-_network_vpn_security_policies_subcommands_group_type() {
+_network_vpn_security_policies_subcommands_group_types() {
+ :
+}
+
+_network_vpn_security_policies_subcommands_integrities() {
:
}
-_network_vpn_security_policies_subcommands_integrity() {
+_network_vpn_security_policies_subcommands_pseudo_random_functions() {
:
}