Add extra validations on is_inrange_v[46]
Add extra validations on is_inrange_v[46]

Verify if addresses are valid IP address before convert them to make
numeric comparison.

While here, adjust indent.

Inspired by: @phil-davis patch at PR #3189

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