Default min-port to 1024 to avoid reserved ports.

This commit is contained in:
Simon Kelley
2018-01-29 22:49:27 +00:00
parent 486bcd5a7b
commit baf553db0c
5 changed files with 5 additions and 8 deletions

View File

@@ -4653,6 +4653,7 @@ void read_opts(int argc, char **argv, char *compile_opts)
daemon->soa_retry = SOA_RETRY;
daemon->soa_expiry = SOA_EXPIRY;
daemon->max_port = MAX_PORT;
daemon->min_port = MIN_PORT;
#ifndef NO_ID
add_txt("version.bind", "dnsmasq-" VERSION, 0 );