From: Michael Tremer Date: Wed, 19 Jul 2017 19:31:09 +0000 (+0200) Subject: security-policies: Show integrity with description X-Git-Tag: 009~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3098f764b8009ce515d9cd18304cec3ecd27831;p=network.git security-policies: Show integrity with description Signed-off-by: Michael Tremer --- diff --git a/src/functions/functions.vpn-security-policies b/src/functions/functions.vpn-security-policies index 0c09c0fc..e1302d8e 100644 --- a/src/functions/functions.vpn-security-policies +++ b/src/functions/functions.vpn-security-policies @@ -244,7 +244,6 @@ vpn_security_policies_show() { # 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}}" @@ -252,7 +251,10 @@ vpn_security_policies_show() { 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:"