From d43290fe316ff47fd2a6ad0b6f7ebe0655cd104e Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Thu, 28 Mar 2019 16:27:24 +0300 Subject: [PATCH] + config: set default parameters for DHCP server --- config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.go b/config.go index 07466925..4e63bfb6 100644 --- a/config.go +++ b/config.go @@ -134,6 +134,10 @@ var config = configuration{ {Filter: dnsfilter.Filter{ID: 3}, Enabled: false, URL: "https://hosts-file.net/ad_servers.txt", Name: "hpHosts - Ad and Tracking servers only"}, {Filter: dnsfilter.Filter{ID: 4}, Enabled: false, URL: "https://www.malwaredomainlist.com/hostslist/hosts.txt", Name: "MalwareDomainList.com Hosts List"}, }, + DHCP: dhcpd.ServerConfig{ + LeaseDuration: 86400, + ICMPTimeout: 1000, + }, SchemaVersion: currentSchemaVersion, }