summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-05-07 07:37:32 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-05-07 07:37:32 +0200
commit318a07de90bd855c41e568e7a2451832448be677 (patch)
treed6acc79d4c05c13cbf9d3994cbf5f724f44bfbfc
parentfda45c91355ccb69820f6b3d053c4c2dcefe0995 (diff)
downloaddyndhcpd-318a07de90bd855c41e568e7a2451832448be677.tar.gz
dyndhcpd-318a07de90bd855c41e568e7a2451832448be677.tar.zst
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.
-rw-r--r--dhcpd.conf10
1 files 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" {