Revision 37656b10
Added by Ermal Luçi over 10 years ago
etc/inc/vpn.inc | ||
---|---|---|
632 | 632 |
$authentication .= "leftauth=pubkey\n\trightauth=eap-tls"; |
633 | 633 |
if (!empty($ph1ent['certref'])) |
634 | 634 |
$authentication .= "\n\tleftcert={$certpath}/cert-{$ph1ent['ikeid']}.crt"; |
635 |
} else |
|
635 |
} else {
|
|
636 | 636 |
$authentication = "leftauth=eap-tls\n\trightauth=eap-tls"; |
637 | 637 |
if (!empty($ph1ent['certref'])) |
638 | 638 |
$authentication .= "\n\tleftcert={$certpath}/cert-{$ph1ent['ikeid']}.crt"; |
Also available in: Unified diff
Oops add missing curly