No empty shared-network allowed version 4.2.4
Ryan Gray
ryantgray at gmail.com
Tue Oct 13 12:03:39 UTC 2015
Hi Simon,
Thanks for the reply. "Why" is a solid question.....There is no function
argument for it, of course. I'm working on a web interface to DHCP (cute,
right? I wonder how many times this has been done). I am writing a fresh
dhcpd.conf upon each action taken and then restarting dhcpd. Adding a
shared-network is one of those actions. So yes, basically just a marker
for something the user will be adding later.
Changing the logic to not write and restart upon an addition of just a
shared-network isn't that big of a deal. In fact, if I had identified this
earlier in the project, that's exactly what I would have done. That said,
unless I've spent far too much time undercaffeinated, I could swear that
dhcpd hasn't had a problem starting with an empty shared-network in the
past. Am I just dreaming that up? Was there an update that I've missed
the docs for that changed the behavior? Seriously, I am 99% certain that
this tested fine previously.....although "previous" to what, I can not
answer.
Thanks again for your thoughts.
Regards,
Ryan Gray
On Tue, Oct 13, 2015 at 6:00 AM, Simon Hobson <dhcp1 at thehobsons.co.uk>
wrote:
> Ryan Gray <ryantgray at gmail.com> wrote:
>
> I have a need for empty shared-network declarations in my dhcpd.conf
> file. Like so:
>
> shared-network VIDEO {
> }
>
>
> Why ?
> If it's just a marker for something you may add later, make it into a
> comment.
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20151013/2624ccb7/attachment.html>
More information about the dhcp-users
mailing list