Project

General

Profile

« Previous | Next » 

Revision ab8f10f2

Added by Phil Davis over 9 years ago

unbound_statistics section should be written to unbound.conf

The stuff generated by unbound_statistics() goes into unbound.conf
It had got separated out and was going nowhere. This puts the behavior back the way it was yesterday.

Note: There is a separate issue about this because the UI has no place to actually select the statistics settings. There is some upgrade code that looks like it was converting statistics settings from the old Unbound package into custom commands in the integrated Unbound. So it looks like the unbound_statistics() function can/should be removed???

View differences:

src/etc/inc/unbound.inc
129 129
	// Configure Domain Overrides
130 130
	unbound_add_domain_overrides();
131 131

  
132
	// Configure Unbound statistics
133
	$statistics = unbound_statistics();
134

  
135 132
	// Configure Unbound access-lists
136 133
	unbound_acls_config();
137 134

  
......
231 228
		$reverse_zones .= unbound_add_domain_overrides("reverse");
232 229
	}
233 230

  
231
	// Configure Unbound statistics
232
	$statistics = unbound_statistics();
233

  
234 234
	// Add custom Unbound options
235 235
	if ($unboundcfg['custom_options']) {
236 236
		$custom_options_source = explode("\n", base64_decode($unboundcfg['custom_options']));

Also available in: Unified diff