mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Log warning on very large cachesize config, instead of truncating it.
This commit is contained in:
@@ -2603,8 +2603,6 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
|
||||
|
||||
if (size < 0)
|
||||
size = 0;
|
||||
else if (size > 10000)
|
||||
size = 10000;
|
||||
|
||||
daemon->cachesize = size;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user