Revision 1d839e6d
Added by Ermal Luçi over 10 years ago
etc/inc/vpn.inc | ||
---|---|---|
322 | 322 |
mwexec("mv /usr/local/lib/ipsec/plugins/libstrongswan-unity.MOVED /usr/local/lib/ipsec/plugins/libstrongswan-unity.so"); |
323 | 323 |
conf_mount_ro(); |
324 | 324 |
} |
325 |
|
|
325 |
|
|
326 |
$makebeforebreak = ''; |
|
327 |
if (isset($config['ipsec']['makebeforebreak'])) { |
|
328 |
$makebeforebreak = 'make_before_break = yes'; |
|
329 |
} |
|
330 |
|
|
326 | 331 |
if (isset($config['ipsec']['enableinterfacesuse'])) { |
327 | 332 |
if (!empty($ifacesuse)) { |
328 | 333 |
$ifacesuse = 'interfaces_use = ' . implode(',', array_unique($ifacesuse)); |
... | ... | |
353 | 358 |
{$accept_unencrypted} |
354 | 359 |
cisco_unity = {$unity_enabled} |
355 | 360 |
{$ifacesuse} |
361 |
{$makebeforebreak} |
|
356 | 362 |
|
357 | 363 |
# And two loggers using syslog. The subsections define the facility to log |
358 | 364 |
# to, currently one of: daemon, auth. |
Also available in: Unified diff
Implement make bofre break feature avaliable on strongswan 5.3.0 useful for IKEv2. Fixes #4626