Pull request: dhcpd: do not overwrite dhcpv4 options
Updates #2927. Squashed commit of the following: commit b4b0f5928260a7ddada71521e5954eb326d61468 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Apr 6 16:31:01 2021 +0300 dhcpd: do not overwrite dhcpv4 options
This commit is contained in:
@@ -178,6 +178,7 @@ func (s *Server) handleDHCPSetConfig(w http.ResponseWriter, r *http.Request) {
|
||||
s.srv4.WriteDiskConfig4(&c4)
|
||||
v4Conf.notify = c4.notify
|
||||
v4Conf.ICMPTimeout = c4.ICMPTimeout
|
||||
v4Conf.Options = c4.Options
|
||||
|
||||
s4, err = v4Create(v4Conf)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user