summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.filter_synchronize2
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();
OpenPOWER on IntegriCloud