check if alg_info_esp exists

This commit is contained in:
Elmar Vonlanthen
2009-11-24 16:15:12 +01:00
committed by Andreas Steffen
parent cda8ec7afc
commit 792876ff87
+1 -1
View File
@@ -506,7 +506,7 @@ void kernel_alg_show_connection(connection_t *c, const char *instance)
enum_show(&auth_alg_names, st->st_esp.attrs.auth);
pfsgroup_name = (c->policy & POLICY_PFS) ?
(c->alg_info_esp->esp_pfsgroup) ?
(c->alg_info_esp && c->alg_info_esp->esp_pfsgroup) ?
enum_show(&oakley_group_names,
c->alg_info_esp->esp_pfsgroup) :
"<Phase1>" : "<N/A>";