Revision 4fef0242
Added by Jim Pingle about 14 years ago
etc/rc.filter_synchronize | ||
---|---|---|
332 | 332 |
if ($carp['synchronizestaticroutes'] != "") { |
333 | 333 |
if (!is_array($config['staticroutes'])) |
334 | 334 |
$config['staticroutes'] = array(); |
335 |
if (!is_array($config['staticroutes']['route'])) |
|
336 |
$config['staticroutes']['route'] = array(); |
|
335 | 337 |
$sections[] = 'staticroutes'; |
336 | 338 |
if (!is_array($config['gateways'])) |
337 | 339 |
$config['gateways'] = array(); |
Also available in: Unified diff
Check/set array for $config['staticroutes']['route'] as well, fixes deleting of the last static route not syncing to secondary unit.