Correct deterimine the wan interface and get its ip.
Correct deterimine the wan interface and get its ip.

dennypage/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,dennypage/pfsense,brunostein/pfsense,ch1c4um/pfsense,ch1c4um/pfsense,BlackstarGroup/pfsense,pfsense/pfsense,jxmx/pfsense,NewEraCracker/pfsense,pfsense/pfsense,phil-davis/pfsense,brunostein/pfsense,dennypage/pfsense,ch1c4um/pfsense,dennypage/pfsense,phil-davis/pfsense,NOYB/pfsense,phil-davis/pfsense,phil-davis/pfsense,NewEraCracker/pfsense,ptorsten/pfsense,ptorsten/pfsense,ptorsten/pfsense,ch1c4um/pfsense,pfsense/pfsense,pfsense/pfsense,jxmx/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,NOYB/pfsense,NOYB/pfsense,BlackstarGroup/pfsense,jxmx/pfsense,brunostein/pfsense