diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-09-03 09:21:38 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-09-03 09:21:38 +0000 |
commit | 3a46b2e4c37dd915f3a6f15fc551ecac02132dbe (patch) | |
tree | 83c2ad6f2db057a64a0974c3127b1c25841989e2 /usr.sbin/nsd/options.c | |
parent | 6caac9703816ae62cf497fcfe7da3cbaa5da11e4 (diff) |
update to NSD 3.2.16, ok deraadt@ brad@
Diffstat (limited to 'usr.sbin/nsd/options.c')
-rw-r--r-- | usr.sbin/nsd/options.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/nsd/options.c b/usr.sbin/nsd/options.c index 721c763383e..39cfa610864 100644 --- a/usr.sbin/nsd/options.c +++ b/usr.sbin/nsd/options.c @@ -34,6 +34,7 @@ nsd_options_t* nsd_options_create(region_type* region) opt->keys = NULL; opt->numkeys = 0; opt->ip_addresses = NULL; + opt->ip_transparent = 0; opt->debug_mode = 0; opt->verbosity = 0; opt->hide_version = 0; @@ -67,6 +68,9 @@ nsd_options_t* nsd_options_create(region_type* region) #ifdef RATELIMIT opt->rrl_size = RRL_BUCKETS; opt->rrl_ratelimit = RRL_LIMIT/2; + opt->rrl_slip = RRL_SLIP; + opt->rrl_ipv4_prefix_length = RRL_IPV4_PREFIX_LENGTH; + opt->rrl_ipv6_prefix_length = RRL_IPV6_PREFIX_LENGTH; opt->rrl_whitelist_ratelimit = RRL_WLIST_LIMIT/2; #endif nsd_options = opt; @@ -647,6 +651,7 @@ acl_options_t* parse_acl_info(region_type* region, char* ip, const char* key) acl->use_axfr_only = 0; acl->allow_udp = 0; acl->ixfr_disabled = 0; + acl->bad_xfr_count = 0; acl->key_options = 0; acl->is_ipv6 = 0; acl->port = 0; |