Commit 17c8452e authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

crash report, PHP Warning: array_unique() expects parameter 1 to be array,...

crash report, PHP Warning:  array_unique() expects parameter 1 to be array, null given in /usr/local/etc/inc/services.inc on line 1575

(cherry picked from commit 933ef0c3)
parent e0e1cc51
......@@ -1475,6 +1475,7 @@ EOD;
function services_dhcrelay_configure()
{
global $config;
$dhcrelayifs = array();
/* kill any running dhcrelay */
killbypid('/var/run/dhcrelay.pid');
......@@ -1596,6 +1597,7 @@ function services_dhcrelay_configure()
function services_dhcrelay6_configure()
{
global $config;
$dhcrelayifs = array();
/* kill any running dhcrelay */
killbypid('/var/run/dhcrelay6.pid');
......
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