diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-05-11 11:08:48 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-05-11 12:19:50 +0200 |
commit | 29cb2ff9ebce36884ee517cbe39b440d5eb57914 (patch) | |
tree | d25e57a30372abd8289dbce0900d8d64f49ca2bd /src/odhcpd.h | |
parent | 0ef74ec9c86a35adcba042f4810ef6b53d7efaaf (diff) |
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 <dedeckeh@gmail.com>
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r-- | src/odhcpd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h index 4ddadbe..334276e 100644 --- a/src/odhcpd.h +++ b/src/odhcpd.h @@ -95,6 +95,7 @@ enum odhcpd_assignment_flags { struct config { bool legacy; + bool main_dhcpv4; char *dhcp_cb; char *dhcp_statefile; int log_level; |