Skip to content

Commit

Permalink
ipsec: fix eap_id placement for eap-mschapv2
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Feb 13, 2023
1 parent b2937eb commit 7504f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/inc/plugins.inc.d/ipsec.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ function ipsec_configure_do($verbose = false, $interface = '')
case 'rsa_eap-mschapv2':
$connection['local-0']['auth'] = 'pubkey';
$connection['remote-0']['auth'] = 'pubkey';
$connection['remote-0']['eap_id'] = '%any';
$connection['remote-1']['eap_id'] = '%any';
$connection['remote-1']['auth'] = 'eap-mschapv2';
break;
case 'eap-radius':
Expand Down

0 comments on commit 7504f4f

Please sign in to comment.