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:
@@ -266,6 +266,10 @@ CALLBACK(ike_sa, int,
|
|||||||
}
|
}
|
||||||
printf("/%s", ike->get(ike, "prf-alg"));
|
printf("/%s", ike->get(ike, "prf-alg"));
|
||||||
printf("/%s", ike->get(ike, "dh-group"));
|
printf("/%s", ike->get(ike, "dh-group"));
|
||||||
|
if (streq(ike->get(ike, "ppk"), "yes"))
|
||||||
|
{
|
||||||
|
printf("/PPK");
|
||||||
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user