diff options
-rwxr-xr-x | etc/rc.filter_synchronize | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.filter_synchronize b/etc/rc.filter_synchronize index c64acd4..71803f2 100755 --- a/etc/rc.filter_synchronize +++ b/etc/rc.filter_synchronize @@ -334,6 +334,8 @@ if (is_array($config['installedpackages']['carpsettings']) && is_array($config[' if ($carp['synchronizestaticroutes'] != "") { if (!is_array($config['staticroutes'])) $config['staticroutes'] = array(); + if (!is_array($config['staticroutes']['route'])) + $config['staticroutes']['route'] = array(); $sections[] = 'staticroutes'; if (!is_array($config['gateways'])) $config['gateways'] = array(); |