Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
# This could be done in a loop but a loop is much more complicated
# because we print 'Group Types' but the variable is named 'GROUP_TYPES'
cli_print_fmt1 1 "Ciphers:"
-
local cipher
for cipher in ${CIPHER}; do
cli_print_fmt1 2 "${VPN_SUPPORTED_CIPHERS[${cipher}]-${cipher}}"
cli_space
cli_print_fmt1 1 "Integrity:"
- cli_print_fmt1 2 "${INTEGRITY}"
+ local integrity
+ for integrity in ${INTEGRITY}; do
+ cli_print_fmt1 2 "${VPN_SUPPORTED_INTEGRITY[${integrity}]-${integrity}}"
+ done
cli_space
cli_print_fmt1 1 "Group Types:"