]> git.ipfire.org Git - people/ms/network.git/commitdiff
security-policies: Show policy after it has been created
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Jul 2017 19:04:04 +0000 (21:04 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Jul 2017 19:04:04 +0000 (21:04 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.vpn-security-policies

index 012c43f6200735097d0a708c211d7659cf3fa24e..9ff922626b96a3138b1d8ab2674467ba1173ddcb 100644 (file)
@@ -533,6 +533,9 @@ vpn_security_policies_new() {
                log ERROR "Could not create VPN Security Policy ${name}"
                return ${EXIT_ERROR}
        fi
+
+       # Show the newly created policy
+       vpn_security_policies_show "${name}"
 }
 
 # Function that deletes based on the passed parameters one ore more vpn security policies