From 318a07de90bd855c41e568e7a2451832448be677 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 7 May 2014 07:37:32 +0200 Subject: host declarations are global, so move out of subnet scope This prevents warning: Host declarations are global. They are not limited to the scope you declared them in. --- dhcpd.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dhcpd.conf b/dhcpd.conf index e0e295a..2a7884e 100644 --- a/dhcpd.conf +++ b/dhcpd.conf @@ -18,12 +18,12 @@ subnet __NETADDRESS__ netmask __NETMASK__ { option time-servers __ADDRESS__; range dynamic-bootp __MINHOST__ __MAXHOST__; +} - # make sure we do not serve our own address - host localhost { - hardware ethernet de:ad:00:be:ef:00; - fixed-address __ADDRESS__; - } +# make sure we do not serve our own address +host localhost { + hardware ethernet de:ad:00:be:ef:00; + fixed-address __ADDRESS__; } class "PXEClient" { -- cgit v1.2.3-54-g00ecf