Revision 23de1f0d
Added by Ermal Luçi over 10 years ago
etc/inc/ipsec.inc | ||
---|---|---|
640 | 640 |
$thisid_type = 'address'; |
641 | 641 |
$thisid_data = $rgmap[$ph1ent['remote-gateway']]; |
642 | 642 |
break; |
643 |
case 'address':
|
|
643 |
case 'address';
|
|
644 | 644 |
$thisid_data = $id_data; |
645 | 645 |
break; |
646 |
case 'fqdn':
|
|
646 |
case 'fqdn';
|
|
647 | 647 |
$thisid_data = "{$id_data}"; |
648 | 648 |
break; |
649 |
case 'keyid tag':
|
|
649 |
case 'keyid tag';
|
|
650 | 650 |
$thisid_type = 'keyid'; |
651 | 651 |
$thisid_data = "{$thisid_data}"; |
652 | 652 |
break; |
653 |
case 'user_fqdn':
|
|
653 |
case 'user_fqdn';
|
|
654 | 654 |
$thisid_type = 'userfqdn'; |
655 | 655 |
$thisid_data = "{$id_data}"; |
656 | 656 |
break; |
657 |
case 'asn1dn':
|
|
657 |
case 'asn1dn';
|
|
658 | 658 |
$thisid_data = $id_data; |
659 | 659 |
$thisid_data = "{$id_data}"; |
660 | 660 |
break; |
Also available in: Unified diff
Revert "Fix typos introduced by chaning to explicit id specification when necessary. Fixes #4202"
This reverts commit 324311043385aed357ca8838bde2c3af3111e564.