mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
swanctl: Report the use of a PPK in --list-sas
If we later decide the PPK_ID would be helpful, printing this on a separate line would probably make sense.
This commit is contained in:
parent
c4d2fdd915
commit
755985867e
@ -266,6 +266,10 @@ CALLBACK(ike_sa, int,
|
||||
}
|
||||
printf("/%s", ike->get(ike, "prf-alg"));
|
||||
printf("/%s", ike->get(ike, "dh-group"));
|
||||
if (streq(ike->get(ike, "ppk"), "yes"))
|
||||
{
|
||||
printf("/PPK");
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user