swanctl: Include ca_id property in list-conns command
authorMartin Willi <martin@strongswan.org>
Thu, 28 Nov 2019 16:04:16 +0000 (17:04 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 6 Dec 2019 09:07:46 +0000 (10:07 +0100)
src/swanctl/commands/list_conns.c

index 5f7dd81..f00fb54 100644 (file)
@@ -183,6 +183,10 @@ CALLBACK(conn_sn, int,
                        {
                                printf("    id: %s\n", auth->get(auth, "id"));
                        }
+                       if (auth->get(auth, "ca_id"))
+                       {
+                               printf("    ca_id: %s\n", auth->get(auth, "ca_id"));
+                       }
                        if (auth->get(auth, "eap_id"))
                        {
                                printf("    eap_id: %s\n", auth->get(auth, "eap_id"));