From 29cb2ff9ebce36884ee517cbe39b440d5eb57914 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Thu, 11 May 2017 11:08:48 +0200 Subject: config: fix dhcpv4 server being started In case maindhcp is set to disabled in global config one expect the DHCPv4 server not being started irrespective if the dhcpv4 interface config is set to server. Fix this by keeping maindhcp config apart from the legacy config parameter as already documented in the README. Signed-off-by: Hans Dedecker --- README | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README') diff --git a/README b/README index ebb2d99..9119071 100644 --- a/README +++ b/README @@ -60,6 +60,8 @@ Section of type odhcpd Option Type Default Description legacy bool 0 Enable DHCPv4 if start but no dhcpv4 option set +maindhcp bool 0 Use odhcpd as the main DHCPv4 + service leasefile string DHCP/v6 lease/hostfile leasetrigger string Lease trigger script loglevel integer 6 Syslog level priority (0-7) -- cgit v1.2.3