sargon / ddhcpd

A distributed DHCP Daemon
GNU General Public License v3.0
31 stars 12 forks source link

Unlink ddhcpd control socket before binding it #25

Closed TobleMiner closed 6 years ago

TobleMiner commented 6 years ago

There might be a left over control socket in case ddhcpd was not shut down properly. By unlinking the path of the socket we can ensure that creation of the socket won't fail.