diff options
author | Christian Hesse <mail@eworm.de> | 2014-05-07 07:37:32 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-05-07 07:37:32 +0200 |
commit | 318a07de90bd855c41e568e7a2451832448be677 (patch) | |
tree | d6acc79d4c05c13cbf9d3994cbf5f724f44bfbfc | |
parent | fda45c91355ccb69820f6b3d053c4c2dcefe0995 (diff) | |
download | dyndhcpd-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.conf | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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" { |