Fix calls to ipsec_enabled() added in 179ab6b364
Eliminate a few more cases of $config['ipsec']['enable'].
Mostly when dealing with enc0 interface.
Catch one more possibility for the IPSEC interface name, this match the code used in other places.
Merge pull request #2036 from heper/patch-1
Merge pull request #2048 from phil-davis/patch-3
Merge pull request #2052 from phil-davis/r8
Add a new function that returns the current state of IPSEC.
Whenever we have phase1 entries, IPSEC is considered enabled.
etc inc delete $Id comments
and bits of white space.Note: There are plenty of files still with old-format copyright sectionsin here.
unbound_statistics section should be written to unbound.conf
The stuff generated by unbound_statistics() goes into unbound.confIt 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???
Add global so that unbound.conf gets written
to the correct place based on $g setting.
View revisions
Also available in: Atom