From a561aa5ef8cb75f01feccad86bf9778f8a8cebe6 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 21 Mar 2017 09:16:41 +0100 Subject: [PATCH] dns: if at first you don't succeed... ... wrap with array() to proceed! --- src/etc/inc/plugins.inc.d/dnsmasq.inc | 4 ++-- src/etc/inc/plugins.inc.d/unbound.inc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/etc/inc/plugins.inc.d/dnsmasq.inc b/src/etc/inc/plugins.inc.d/dnsmasq.inc index f3eeeb205..2c527a080 100644 --- a/src/etc/inc/plugins.inc.d/dnsmasq.inc +++ b/src/etc/inc/plugins.inc.d/dnsmasq.inc @@ -39,8 +39,8 @@ function dnsmasq_enabled() function dnsmasq_configure() { return array( - 'dns' => 'dnsmasq_configure_do', - 'hosts' => 'dnsmasq_hosts_generate:0', + 'dns' => array('dnsmasq_configure_do'), + 'hosts' => array('dnsmasq_hosts_generate:0'), ); } diff --git a/src/etc/inc/plugins.inc.d/unbound.inc b/src/etc/inc/plugins.inc.d/unbound.inc index d81749baf..079a725c9 100644 --- a/src/etc/inc/plugins.inc.d/unbound.inc +++ b/src/etc/inc/plugins.inc.d/unbound.inc @@ -39,8 +39,8 @@ function unbound_enabled() function unbound_configure() { return array( - 'dns' => 'unbound_configure_do', - 'hosts' => 'unbound_hosts_generate:0', + 'dns' => array('unbound_configure_do'), + 'hosts' => array('unbound_hosts_generate:0'), ); }