Révision 29629bca
Ajouté par Ermal il y a presque 10 ans
etc/inc/vpn.inc | ||
---|---|---|
333 | 333 |
|
334 | 334 |
$localid = ipsec_idinfo_to_cidr($ph2ent['localid'], true, $ph2ent['mode']); |
335 | 335 |
|
336 |
if ($net_list)
|
|
337 |
$net_list .= ", ";
|
|
336 |
if (!empty($net_list))
|
|
337 |
$net_list .= ","; |
|
338 | 338 |
$net_list .= $localid; |
339 | 339 |
} |
340 | 340 |
|
341 | 341 |
if (!empty($net_list)) { |
342 |
$strongswan .= "\t\tsubnet = {$net_list}\n"; |
|
343 | 342 |
$strongswan .= "\t\tsplit-include = {$net_list}\n"; |
344 | 343 |
unset($net_list); |
345 | 344 |
} |
Formats disponibles : Unified diff
Make some fixes related to Ticket #3662. Its mostly cleanup.