Commit 87c09ec4 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) crashreport PHP Warning: Illegal string offset 'route' in...

(legacy) crashreport PHP Warning:  Illegal string offset 'route' in /usr/local/etc/inc/services.inc on line 1603
parent 9a675a45
......@@ -1600,7 +1600,7 @@ function services_dhcrelay6_configure()
}
}
if (!isset($destif)) {
if (is_array($config['staticroutes']['route'])) {
if (isset($config['staticroutes']['route'])) {
foreach ($config['staticroutes']['route'] as $rtent) {
if (ip_in_subnet($srvip, $rtent['network'])) {
$a_gateways = return_gateways_array(true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment