2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

implement maxudp under windows

This commit is contained in:
Mark Andrews
2019-08-08 18:31:20 +10:00
parent ac50b0180b
commit 2f558854b7
4 changed files with 65 additions and 29 deletions

View File

@@ -646,6 +646,9 @@ parse_T_opt(char *option) {
maxudp = 1460;
} else if (!strncmp(option, "maxudp=", 7)) {
maxudp = atoi(option + 7);
if (maxudp <= 0) {
named_main_earlyfatal("bad maxudp");
}
} else if (!strncmp(option, "mkeytimers=", 11)) {
p = strtok_r(option + 11, "/", &last);
if (p == NULL) {