Oops add missing curly

This commit is contained in:
Ermal LUÇI 2015-01-14 17:02:59 +01:00
parent 54ab1bdcaa
commit 37656b1015

View File

@ -632,7 +632,7 @@ EOD;
$authentication .= "leftauth=pubkey\n\trightauth=eap-tls";
if (!empty($ph1ent['certref']))
$authentication .= "\n\tleftcert={$certpath}/cert-{$ph1ent['ikeid']}.crt";
} else
} else {
$authentication = "leftauth=eap-tls\n\trightauth=eap-tls";
if (!empty($ph1ent['certref']))
$authentication .= "\n\tleftcert={$certpath}/cert-{$ph1ent['ikeid']}.crt";