]> git.ipfire.org Git - people/stevee/network.git/commitdiff
ipsec: Show ZONE setting when configuration is being dumped
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 18 Sep 2018 11:33:30 +0000 (13:33 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 18 Sep 2018 11:33:30 +0000 (13:33 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.ipsec

index 4e4c45dacc1134870beb377b5d4770bf5fb2c745..e2af52b07d95f9d9b426e51a167b2a244bb3a180 100644 (file)
@@ -171,6 +171,11 @@ cli_ipsec_connection_show() {
                cli_print_fmt1 1 "Peer" "${PEER}"
        fi
 
+       # Zone
+       if isset ZONE; then
+               cli_print_fmt1 1 "Zone" "${ZONE}"
+       fi
+
        # Security Policy
        cli_print_fmt1 1 "Security Policy" "${SECURITY_POLICY-${IPSEC_DEFAULT_SECURITY_POLICY}}"
        cli_space