mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix #9674: Do not set duplicate-cn in p2p_shared_key mode
This commit is contained in:
parent
743d7fc4ac
commit
2db1578dfd
@ -1043,7 +1043,8 @@ function openvpn_reconfigure($mode, $settings) {
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (isset($settings['duplicate_cn'])) {
|
||||
if ($settings['mode'] != 'p2p_shared_key' &&
|
||||
isset($settings['duplicate_cn'])) {
|
||||
$conf .= "duplicate-cn\n";
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user