Fix logic inn detecting if OpenVPN resync needed
Fix logic inn detecting if OpenVPN resync needed

Commit https://github.com/pfsense/pfsense/commit/f33dcc5c79c54af7daf91a81cfdd7f489e8cb67c reversed the logic sequence when testing if $resync_needed - the individual tests were changed from "==" to "!=" and so on, but the conjunction also need to be changed - "or" needs to be "and". I had noticed that VPNs on some gateway groups of mine didn't failover recently, but hadn't gone looking for the problem until now.
This might help bug #3243 - it will probably now make the OpenVPN resync on every interface/gateway change for the cases of CARP VIPs and VLANs mentioned in that bug report. At least that will be better than not resyncing at all.
phil-davis/pfsense,phil-davis/pfsense,dennypage/pfsense,NOYB/pfsense,NewEraCracker/pfsense,ch1c4um/pfsense,ch1c4um/pfsense,ch1c4um/pfsense,dennypage/pfsense,ptorsten/pfsense,ch1c4um/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,jxmx/pfsense,brunostein/pfsense,pfsense/pfsense,ptorsten/pfsense,phil-davis/pfsense,jxmx/pfsense,pfsense/pfsense,BlackstarGroup/pfsense,brunostein/pfsense,NewEraCracker/pfsense,pfsense/pfsense,ptorsten/pfsense,NOYB/pfsense,BlackstarGroup/pfsense,phil-davis/pfsense,NOYB/pfsense,jxmx/pfsense,brunostein/pfsense,dennypage/pfsense,BlackstarGroup/pfsense,pfsense/pfsense,dennypage/pfsense,NewEraCracker/pfsense