aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/kernel_alg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluto/kernel_alg.c')
-rw-r--r--src/pluto/kernel_alg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluto/kernel_alg.c b/src/pluto/kernel_alg.c
index a2bb51cdd..0429615f7 100644
--- a/src/pluto/kernel_alg.c
+++ b/src/pluto/kernel_alg.c
@@ -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>";