Properly detect when there are issues with communicating with syncip and to use the local DB for this. Otherwise detect if the remote says the voucher is not valid say its not valid.
Fix whitespaces and indent
Fix whitespace and indent
Set variable after make sure it's defined and has elements
Fix #2302, save custom uploaded l7 pattern files on config.xml and replicate it to slave
Make is_linklocal case-insensitive and fix #3433
Fix #3483 only use IPv4 DNS servers in DHCP v4 conf
Merge pull request #970 from phil-davis/master

Fix #3483 only use IPv4 DNS servers in DHCP v4 conf
* Correct logging to syslog and proper file for ipsec from strongswan
* Use proper commands to reload strongswan rather than just the daemon
Push log changes for IPSec and fix generation of strongswan.conf and ipsec.secrets to be properly considered
Port dropdowns: Put port no. after descrip

At the moment, even if a port number is entered, it's re-displayed only as a port name when editing. Users who don't have port names -> numbers lookup memorised can't easily confirm when editing a rule, that the port is as intended. Then, when they return to firewall_rules.php the same rules have ports displayed as numbers not names (inconsistent).

This small UI edit changes the port dropdowns from just the name "NetBIOS-NS" to "NetBIOS-NS (137)" and shows the very well known port number, for ease of use.
Merge pull request #975 from stilez/patch-1

Port dropdowns: Put port no. after descrip